toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final audioDuration = this.audioDuration;
  final scte35Esam = this.scte35Esam;
  final scte35Source = this.scte35Source;
  return {
    if (audioDuration != null) 'audioDuration': audioDuration.toValue(),
    if (scte35Esam != null) 'scte35Esam': scte35Esam.toValue(),
    if (scte35Source != null) 'scte35Source': scte35Source.toValue(),
  };
}