NoiseReducer.fromJson constructor
NoiseReducer.fromJson(
- Map<String, dynamic> json
)
Implementation
factory NoiseReducer.fromJson(Map<String, dynamic> json) {
return NoiseReducer(
filter: (json['filter'] as String?)?.toNoiseReducerFilter(),
filterSettings: json['filterSettings'] != null
? NoiseReducerFilterSettings.fromJson(
json['filterSettings'] as Map<String, dynamic>)
: null,
spatialFilterSettings: json['spatialFilterSettings'] != null
? NoiseReducerSpatialFilterSettings.fromJson(
json['spatialFilterSettings'] as Map<String, dynamic>)
: null,
temporalFilterSettings: json['temporalFilterSettings'] != null
? NoiseReducerTemporalFilterSettings.fromJson(
json['temporalFilterSettings'] as Map<String, dynamic>)
: null,
);
}