serialize method

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

Serializes the program.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "numSignatures": numSignatures,
    "padding": padding,
    "signatureOffset": signatureOffset,
    "signatureInstructionIndex": signatureInstructionIndex,
    "publicKeyOffset": publicKeyOffset,
    "publicKeyInstructionIndex": publicKeyInstructionIndex,
    "messageDataOffset": messageDataOffset,
    "messageDataSize": messageDataSize,
    "messageInstructionIndex": messageInstructionIndex,
  };
}