toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'eb50adf5',
'\$name': 'MessagesBotApp',
'flags': flags,
'inactive': inactive,
'requestWriteAccess': requestWriteAccess,
'hasSettings': hasSettings,
'app': app,
};
// Finished toJson.
return returnValue;
}