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