toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0xb0d81a83",
"flags": flags,
"silent": silent,
"peer": peer,
"bot": bot,
"queryId": queryId,
"replyTo": replyTo,
"sendAs": sendAs,
};
// Finished toJson.
return returnValue;
}