toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (regimeType != null) {
    json[r'regimeType'] = regimeType;
  }
  if (from != null) {
    json[r'from'] = from;
  }
  if (to != null) {
    json[r'to'] = to;
  }
  if (feeAmount != null) {
    json[r'feeAmount'] = feeAmount;
  }
  return json;
}