RealtimeTranslationNoiseReduction.fromJson constructor
Creates from JSON.
Implementation
factory RealtimeTranslationNoiseReduction.fromJson(
Map<String, dynamic> json,
) {
if (json['type'] == null) {
throw const FormatException(
'RealtimeTranslationNoiseReduction.fromJson missing required "type" field',
);
}
return RealtimeTranslationNoiseReduction(
type: NoiseReductionType.fromJson(json['type'] as String),
);
}