toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '8b89dfbd',
'\$name': 'BotsSetCustomVerification',
'flags': flags,
'enabled': enabled,
'bot': bot,
'peer': peer,
'customDescription': customDescription,
};
// Finished toJson.
return returnValue;
}