toJson method

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

Converts an object to JSON.

Implementation

@override
Map<String, dynamic> toJson() {
  final returnValue = <String, dynamic>{
    "\$": "0xf3ed4c73",
    "botId": botId,
    "scope": scope,
    "publicKey": publicKey,
    "valueHashes": valueHashes,
    "credentials": credentials,
  };

  // Finished toJson.
  return returnValue;
}