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