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