toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.currencyId != null) {
    json[r'currencyId'] = this.currencyId;
  } else {
    json[r'currencyId'] = null;
  }
  if (this.isSelected != null) {
    json[r'isSelected'] = this.isSelected;
  } else {
    json[r'isSelected'] = null;
  }
  if (this.label != null) {
    json[r'label'] = this.label;
  } else {
    json[r'label'] = null;
  }
  if (this.lowBalanceThreshold != null) {
    json[r'lowBalanceThreshold'] = this.lowBalanceThreshold;
  } else {
    json[r'lowBalanceThreshold'] = null;
  }
  return json;
}