toJson method
Implementation
Map<String, dynamic> toJson() => {
"operation_statuses":
operation_statuses.map((e) => e.toJson()).toList(),
"operation_types": operation_types.map((e) => e.toString()).toList(),
"errors": errors.map((e) => e.toJson()).toList(),
"historical_balance_lookup": historical_balance_lookup,
"call_methods": call_methods.map((e) => e.toString()).toList(),
"balance_exemptions":
balance_exemptions.map((e) => e.toString()).toList(),
"mempool_coins": mempool_coins,
"timestamp_start_index": timestamp_start_index
}..removeWhere(
(dynamic key, dynamic value) => key == null || value == null);