toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '9852f9c6',
'\$name': 'DocumentAttributeAudio',
'flags': flags,
'voice': voice,
'duration': duration,
'title': title,
'performer': performer,
'waveform': waveform,
};
// Finished toJson.
return returnValue;
}