serialize method

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

Serializes the program.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "root": root,
    "dataHash": dataHash,
    "creatorHash": creatorHash,
    "nonce": nonce,
    "index": index
  };
}