toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "sub_account_address": sub_account_address,
      "currency": currency?.toJson(),
      "exemption_type": exemption_type
    }..removeWhere(
        (dynamic key, dynamic value) => key == null || value == null);