serialize method

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

Serializes the program.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "bump": bump,
    "index": index,
    "amount": amount,
    "claimantSecret": claimantSecret,
    "proof": proof
  };
}