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