toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x8b68b0cc",
"flags": flags,
"message": message,
"entities": entities,
};
// Finished toJson.
return returnValue;
}