toJson method
Converts this instance to a JSON map. 将当前实例转换为 JSON 映射。
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
data['audioChannels'] = audioChannels;
data['audioLang'] = audioLang;
data['audioSampleFormat'] = audioSampleFormat;
data['audioSampleRate'] = audioSampleRate;
data['codecName'] = codecName;
data['description'] = description;
data['index'] = index;
data['mType'] = type;
data['subtitleLang'] = subtitleLang;
data['videoHDRType'] = videoHDRType;
data['videoBitrate'] = videoBitrate;
data['videoHeight'] = videoHeight;
data['videoWidth'] = videoWidth;
data['vodDefinition'] = vodDefinition;
data['vodFileSize'] = vodFileSize;
data['vodFormat'] = vodFormat;
data['vodPlayUrl'] = vodPlayUrl;
return data;
}