toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final convert608To708 = this.convert608To708;
  final source608ChannelNumber = this.source608ChannelNumber;
  final source608TrackNumber = this.source608TrackNumber;
  final terminateCaptions = this.terminateCaptions;
  return {
    if (convert608To708 != null) 'convert608To708': convert608To708.toValue(),
    if (source608ChannelNumber != null)
      'source608ChannelNumber': source608ChannelNumber,
    if (source608TrackNumber != null)
      'source608TrackNumber': source608TrackNumber,
    if (terminateCaptions != null)
      'terminateCaptions': terminateCaptions.toValue(),
  };
}