serialize method
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,
};
}