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