toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "network_identifier": network_identifier.toJson(),
      "operator": operator,
      "max_block": max_block,
      "offset": offset,
      "limit": limit,
      "transaction_identifier": transaction_identifier?.toJson(),
      "account_identifier": account_identifier?.toJson(),
      "coin_identifier": coin_identifier?.toJson(),
      "currency": currency?.toJson(),
      "status": status,
      "type": type,
      "address": address,
      "success": success
    }..removeWhere(
        (dynamic key, dynamic value) => key == null || value == null);