toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'sub_account_address': subAccountAddress,
    'currency': currency?.toJson(),
    'exemption_type': exemptionType,
  }..removeWhere((key, value) => value == null);
}