toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.bitrate != null) {
json[r'bitrate'] = this.bitrate;
} else {
json[r'bitrate'] = null;
}
if (this.codec != null) {
json[r'codec'] = this.codec;
} else {
json[r'codec'] = null;
}
if (this.framerate != null) {
json[r'framerate'] = this.framerate;
} else {
json[r'framerate'] = null;
}
if (this.resolution != null) {
json[r'resolution'] = this.resolution;
} else {
json[r'resolution'] = null;
}
if (this.trackId != null) {
json[r'track_id'] = this.trackId;
} else {
json[r'track_id'] = null;
}
if (this.trackType != null) {
json[r'track_type'] = this.trackType;
} else {
json[r'track_type'] = null;
}
json[r'warnings'] = this.warnings;
return json;
}