toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x2064674e",
"flags": flags,
"ffinal": ffinal,
"pts": pts,
"timeout": timeout,
"newMessages": newMessages,
"otherUpdates": otherUpdates,
"chats": chats,
"users": users,
};
// Finished toJson.
return returnValue;
}