toJson method
Converts the object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"script_n_of_k": {
"n": n,
"native_scripts": nativeScripts.map((e) => e.toJson()).toList(),
}
};
}