toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final clapAtom = this.clapAtom;
  final cslgAtom = this.cslgAtom;
  final mpeg2FourCCControl = this.mpeg2FourCCControl;
  final paddingControl = this.paddingControl;
  final reference = this.reference;
  return {
    if (clapAtom != null) 'clapAtom': clapAtom.toValue(),
    if (cslgAtom != null) 'cslgAtom': cslgAtom.toValue(),
    if (mpeg2FourCCControl != null)
      'mpeg2FourCCControl': mpeg2FourCCControl.toValue(),
    if (paddingControl != null) 'paddingControl': paddingControl.toValue(),
    if (reference != null) 'reference': reference.toValue(),
  };
}