toJson method
Implementation
Map<String, dynamic> toJson() => {
"operations": operations.map((e) => e.toJson()).toList(),
"signers": signers?.map((e) => e.toString()).toList(),
"account_identifier_signers":
account_identifier_signers?.map((e) => e.toJson()).toList(),
"metadata": metadata
}..removeWhere(
(dynamic key, dynamic value) => key == null || value == null);