toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'phoneNumber'] = this.phoneNumber;
if (this.settings != null) {
json[r'settings'] = this.settings;
} else {
json[r'settings'] = null;
}
if (this.minDeliveredValue != null) {
json[r'minDeliveredValue'] = this.minDeliveredValue;
} else {
json[r'minDeliveredValue'] = null;
}
if (this.value != null) {
json[r'value'] = this.value;
} else {
json[r'value'] = null;
}
if (this.maxPrice != null) {
json[r'maxPrice'] = this.maxPrice;
} else {
json[r'maxPrice'] = null;
}
return json;
}