toJson method
Implementation
Map<String, dynamic> toJson() {
final framerateDenominator = this.framerateDenominator;
final framerateNumerator = this.framerateNumerator;
final adaptiveQuantization = this.adaptiveQuantization;
final afdSignaling = this.afdSignaling;
final colorMetadata = this.colorMetadata;
final colorSpace = this.colorSpace;
final displayAspectRatio = this.displayAspectRatio;
final filterSettings = this.filterSettings;
final fixedAfd = this.fixedAfd;
final gopClosedCadence = this.gopClosedCadence;
final gopNumBFrames = this.gopNumBFrames;
final gopSize = this.gopSize;
final gopSizeUnits = this.gopSizeUnits;
final scanType = this.scanType;
final subgopLength = this.subgopLength;
final timecodeInsertion = this.timecodeInsertion;
return {
'framerateDenominator': framerateDenominator,
'framerateNumerator': framerateNumerator,
if (adaptiveQuantization != null)
'adaptiveQuantization': adaptiveQuantization.toValue(),
if (afdSignaling != null) 'afdSignaling': afdSignaling.toValue(),
if (colorMetadata != null) 'colorMetadata': colorMetadata.toValue(),
if (colorSpace != null) 'colorSpace': colorSpace.toValue(),
if (displayAspectRatio != null)
'displayAspectRatio': displayAspectRatio.toValue(),
if (filterSettings != null) 'filterSettings': filterSettings,
if (fixedAfd != null) 'fixedAfd': fixedAfd.toValue(),
if (gopClosedCadence != null) 'gopClosedCadence': gopClosedCadence,
if (gopNumBFrames != null) 'gopNumBFrames': gopNumBFrames,
if (gopSize != null) 'gopSize': gopSize,
if (gopSizeUnits != null) 'gopSizeUnits': gopSizeUnits.toValue(),
if (scanType != null) 'scanType': scanType.toValue(),
if (subgopLength != null) 'subgopLength': subgopLength.toValue(),
if (timecodeInsertion != null)
'timecodeInsertion': timecodeInsertion.toValue(),
};
}