toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.bitrate != null) {
    json[r'bitrate'] = this.bitrate;
  } else {
    json[r'bitrate'] = null;
  }
    json[r'height'] = this.height;
    json[r'width'] = this.width;
  return json;
}