toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'operation_statuses': operationStatus.map((e) => e.toJson()).toList(),
'operation_types': operationTypes.map((e) => e.toString()).toList(),
'errors': errors.map((e) => e.toJson()).toList(),
'historical_balance_lookup': historicalBalanceLookup,
'call_methods': callMethods.map((e) => e.toString()).toList(),
'balance_exemptions': balanceExemptions.map((e) => e.toString()).toList(),
'mempool_coins': mempoolCoins,
'timestamp_start_index': timestampStartIndex,
}..removeWhere((key, value) => value == null);
}