AudioInputNoiseReduction.fromJson constructor

AudioInputNoiseReduction.fromJson(
  1. Map<String, dynamic> json
)

Creates from JSON.

Implementation

factory AudioInputNoiseReduction.fromJson(Map<String, dynamic> json) {
  return AudioInputNoiseReduction(
    type: json['type'] != null
        ? NoiseReductionType.fromJson(json['type'] as String)
        : null,
  );
}