toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0xf107e790",
"flags": flags,
"peer": peer,
"topMsgId": topMsgId,
"offsetId": offsetId,
"addOffset": addOffset,
"limit": limit,
"maxId": maxId,
"minId": minId,
};
// Finished toJson.
return returnValue;
}