toJson method
Implementation
Map<String, dynamic> toJson() {
final codecProfile = this.codecProfile;
final framerateControl = this.framerateControl;
final framerateConversionAlgorithm = this.framerateConversionAlgorithm;
final framerateDenominator = this.framerateDenominator;
final framerateNumerator = this.framerateNumerator;
final interlaceMode = this.interlaceMode;
final parControl = this.parControl;
final parDenominator = this.parDenominator;
final parNumerator = this.parNumerator;
final slowPal = this.slowPal;
final telecine = this.telecine;
return {
if (codecProfile != null) 'codecProfile': codecProfile.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 (parControl != null) 'parControl': parControl.toValue(),
if (parDenominator != null) 'parDenominator': parDenominator,
if (parNumerator != null) 'parNumerator': parNumerator,
if (slowPal != null) 'slowPal': slowPal.toValue(),
if (telecine != null) 'telecine': telecine.toValue(),
};
}