toJson method
Implementation
Map<String, dynamic> toJson() {
final aspectRatio = this.aspectRatio;
final container = this.container;
final detectedProperties = this.detectedProperties;
final encryption = this.encryption;
final frameRate = this.frameRate;
final inputCaptions = this.inputCaptions;
final interlaced = this.interlaced;
final key = this.key;
final resolution = this.resolution;
final timeSpan = this.timeSpan;
return {
if (aspectRatio != null) 'AspectRatio': aspectRatio,
if (container != null) 'Container': container,
if (detectedProperties != null) 'DetectedProperties': detectedProperties,
if (encryption != null) 'Encryption': encryption,
if (frameRate != null) 'FrameRate': frameRate,
if (inputCaptions != null) 'InputCaptions': inputCaptions,
if (interlaced != null) 'Interlaced': interlaced,
if (key != null) 'Key': key,
if (resolution != null) 'Resolution': resolution,
if (timeSpan != null) 'TimeSpan': timeSpan,
};
}