toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.audioOnly != null) {
json[r'audio_only'] = this.audioOnly;
} else {
json[r'audio_only'] = null;
}
json[r'mode'] = this.mode;
if (this.quality != null) {
json[r'quality'] = this.quality;
} else {
json[r'quality'] = null;
}
return json;
}