toJson method
Converts the object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"vkeys": vKeys?.map((e) => e.toJson()).toList(),
"native_scripts": nativeScripts?.map((e) => e.toJson()).toList(),
"bootstraps": bootstraps?.map((e) => e.toJson()).toList(),
"plutus_scripts": plutusScripts?.map((e) => e.toJson()).toList(),
"plutus_data": plutusData?.toJson(),
"redeemers": redeemers?.map((e) => e.toJson()).toList()
};
}