toJson method
Implementation
Map<String, dynamic> toJson() {
final afdSignaling = this.afdSignaling;
final antiAlias = this.antiAlias;
final codecSettings = this.codecSettings;
final colorMetadata = this.colorMetadata;
final crop = this.crop;
final dropFrameTimecode = this.dropFrameTimecode;
final fixedAfd = this.fixedAfd;
final height = this.height;
final position = this.position;
final respondToAfd = this.respondToAfd;
final scalingBehavior = this.scalingBehavior;
final sharpness = this.sharpness;
final timecodeInsertion = this.timecodeInsertion;
final videoPreprocessors = this.videoPreprocessors;
final width = this.width;
return {
if (afdSignaling != null) 'afdSignaling': afdSignaling.toValue(),
if (antiAlias != null) 'antiAlias': antiAlias.toValue(),
if (codecSettings != null) 'codecSettings': codecSettings,
if (colorMetadata != null) 'colorMetadata': colorMetadata.toValue(),
if (crop != null) 'crop': crop,
if (dropFrameTimecode != null)
'dropFrameTimecode': dropFrameTimecode.toValue(),
if (fixedAfd != null) 'fixedAfd': fixedAfd,
if (height != null) 'height': height,
if (position != null) 'position': position,
if (respondToAfd != null) 'respondToAfd': respondToAfd.toValue(),
if (scalingBehavior != null) 'scalingBehavior': scalingBehavior.toValue(),
if (sharpness != null) 'sharpness': sharpness,
if (timecodeInsertion != null)
'timecodeInsertion': timecodeInsertion.toValue(),
if (videoPreprocessors != null) 'videoPreprocessors': videoPreprocessors,
if (width != null) 'width': width,
};
}