toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts an object to JSON.

Implementation

@override
Map<String, dynamic> toJson() {
  final returnValue = <String, dynamic>{
    "\$": "0x973478b6",
    "flags": flags,
    "correspondents": correspondents,
    "botsPm": botsPm,
    "botsInline": botsInline,
    "phoneCalls": phoneCalls,
    "forwardUsers": forwardUsers,
    "forwardChats": forwardChats,
    "groups": groups,
    "channels": channels,
    "offset": offset,
    "limit": limit,
    "hash": hash,
  };

  // Finished toJson.
  return returnValue;
}