toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.codecMimeType != null) {
    json[r'codec_mime_type'] = this.codecMimeType;
  } else {
    json[r'codec_mime_type'] = null;
  }
  if (this.durationSeconds != null) {
    json[r'duration_seconds'] = this.durationSeconds;
  } else {
    json[r'duration_seconds'] = null;
  }
  if (this.trackType != null) {
    json[r'track_type'] = this.trackType;
  } else {
    json[r'track_type'] = null;
  }
  return json;
}