getValue method
Converts an InputMediaAudio object to a JSON object
Implementation
@override
Map<String, dynamic> getValue([String? field, String? thumb]) {
return {
'type': type.value,
'media': media.getValue(field),
'thumbnail': thumbnail?.getValue(thumb),
'caption': caption,
'parse_mode': parseMode?.value,
'caption_entities': captionEntities,
'duration': duration,
'performer': performer,
'title': title,
}..removeWhere(_nullFilter);
}