toJson method

dynamic toJson()

Implementation

toJson() {
  return {
    "tree": tree,
    "signature": signature,
    "delegation": delegation != null ? delegation!.toJson() : {}
  };
}