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