toJson method

dynamic toJson()

Implementation

toJson() {
  return {
    "publicKey": publicKey,
    "deligations": deligations.map((e) => e.toJson()).toList()
  };
}