toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final adAvailOffset = this.adAvailOffset;
  final availBlanking = this.availBlanking;
  final esam = this.esam;
  final inputs = this.inputs;
  final motionImageInserter = this.motionImageInserter;
  final nielsenConfiguration = this.nielsenConfiguration;
  final nielsenNonLinearWatermark = this.nielsenNonLinearWatermark;
  final outputGroups = this.outputGroups;
  final timecodeConfig = this.timecodeConfig;
  final timedMetadataInsertion = this.timedMetadataInsertion;
  return {
    if (adAvailOffset != null) 'adAvailOffset': adAvailOffset,
    if (availBlanking != null) 'availBlanking': availBlanking,
    if (esam != null) 'esam': esam,
    if (inputs != null) 'inputs': inputs,
    if (motionImageInserter != null)
      'motionImageInserter': motionImageInserter,
    if (nielsenConfiguration != null)
      'nielsenConfiguration': nielsenConfiguration,
    if (nielsenNonLinearWatermark != null)
      'nielsenNonLinearWatermark': nielsenNonLinearWatermark,
    if (outputGroups != null) 'outputGroups': outputGroups,
    if (timecodeConfig != null) 'timecodeConfig': timecodeConfig,
    if (timedMetadataInsertion != null)
      'timedMetadataInsertion': timedMetadataInsertion,
  };
}