toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (audioStreams != null) 'audioStreams': audioStreams!,
      if (bitrateBps != null) 'bitrateBps': bitrateBps!,
      if (container != null) 'container': container!,
      if (creationTime != null) 'creationTime': creationTime!,
      if (durationMs != null) 'durationMs': durationMs!,
      if (fileName != null) 'fileName': fileName!,
      if (fileSize != null) 'fileSize': fileSize!,
      if (fileType != null) 'fileType': fileType!,
      if (videoStreams != null) 'videoStreams': videoStreams!,
    };