serialize method
Serializes the program.
Implementation
@override
Map<String, dynamic> serialize() {
return {
"treasuryOwnerBump": treasuryOwnerBump,
"name": name,
"description": description,
"mutable": mutable,
"price": price,
"piecesInOneWallet": piecesInOneWallet,
"startDate": startDate,
"endDate": endDate,
"gatingConfig": gatingConfig?.serialize()
};
}