serialize method

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

Serializes the object to a map.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "discriminator": _Utils.discriminator,
    "leafschema": leafSchema.serialize(),
    "merkleTree": merkleTree,
    "index": index
  };
}