VideoPreprocessor.fromJson constructor
VideoPreprocessor.fromJson(
- Map<String, dynamic> json
)
Implementation
factory VideoPreprocessor.fromJson(Map<String, dynamic> json) {
return VideoPreprocessor(
colorCorrector: json['colorCorrector'] != null
? ColorCorrector.fromJson(
json['colorCorrector'] as Map<String, dynamic>)
: null,
deinterlacer: json['deinterlacer'] != null
? Deinterlacer.fromJson(json['deinterlacer'] as Map<String, dynamic>)
: null,
dolbyVision: json['dolbyVision'] != null
? DolbyVision.fromJson(json['dolbyVision'] as Map<String, dynamic>)
: null,
imageInserter: json['imageInserter'] != null
? ImageInserter.fromJson(
json['imageInserter'] as Map<String, dynamic>)
: null,
noiseReducer: json['noiseReducer'] != null
? NoiseReducer.fromJson(json['noiseReducer'] as Map<String, dynamic>)
: null,
partnerWatermarking: json['partnerWatermarking'] != null
? PartnerWatermarking.fromJson(
json['partnerWatermarking'] as Map<String, dynamic>)
: null,
timecodeBurnin: json['timecodeBurnin'] != null
? TimecodeBurnin.fromJson(
json['timecodeBurnin'] as Map<String, dynamic>)
: null,
);
}