toJson method
Implementation
Map<String, dynamic> toJson() {
final audioDuration = this.audioDuration;
final cslgAtom = this.cslgAtom;
final cttsVersion = this.cttsVersion;
final freeSpaceBox = this.freeSpaceBox;
final moovPlacement = this.moovPlacement;
final mp4MajorBrand = this.mp4MajorBrand;
return {
if (audioDuration != null) 'audioDuration': audioDuration.toValue(),
if (cslgAtom != null) 'cslgAtom': cslgAtom.toValue(),
if (cttsVersion != null) 'cttsVersion': cttsVersion,
if (freeSpaceBox != null) 'freeSpaceBox': freeSpaceBox.toValue(),
if (moovPlacement != null) 'moovPlacement': moovPlacement.toValue(),
if (mp4MajorBrand != null) 'mp4MajorBrand': mp4MajorBrand,
};
}