toJson method
Implementation
Map<String, dynamic> toJson() {
final avcIntraClass = this.avcIntraClass;
final framerateControl = this.framerateControl;
final framerateConversionAlgorithm = this.framerateConversionAlgorithm;
final framerateDenominator = this.framerateDenominator;
final framerateNumerator = this.framerateNumerator;
final interlaceMode = this.interlaceMode;
final slowPal = this.slowPal;
final telecine = this.telecine;
return {
if (avcIntraClass != null) 'avcIntraClass': avcIntraClass.toValue(),
if (framerateControl != null)
'framerateControl': framerateControl.toValue(),
if (framerateConversionAlgorithm != null)
'framerateConversionAlgorithm': framerateConversionAlgorithm.toValue(),
if (framerateDenominator != null)
'framerateDenominator': framerateDenominator,
if (framerateNumerator != null) 'framerateNumerator': framerateNumerator,
if (interlaceMode != null) 'interlaceMode': interlaceMode.toValue(),
if (slowPal != null) 'slowPal': slowPal.toValue(),
if (telecine != null) 'telecine': telecine.toValue(),
};
}