toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'min'] = this.min;
if (this.max != null) {
json[r'max'] = this.max;
} else {
json[r'max'] = null;
}
json[r'currency'] = this.currency;
return json;
}