toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'amendmentRequestId'] = this.amendmentRequestId;
    json[r'paymentMethod'] = this.paymentMethod;
  if (this.selectedOptionId != null) {
    json[r'selectedOptionId'] = this.selectedOptionId;
  } else {
    json[r'selectedOptionId'] = null;
  }
  if (this.maxPrice != null) {
    json[r'maxPrice'] = this.maxPrice;
  } else {
    json[r'maxPrice'] = null;
  }
  return json;
}