toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'planId'] = this.planId;
json[r'organizationId'] = this.organizationId;
if (this.seats != null) {
json[r'seats'] = this.seats;
} else {
json[r'seats'] = null;
}
if (this.planType != null) {
json[r'planType'] = this.planType;
} else {
json[r'planType'] = null;
}
if (this.returnUrl != null) {
json[r'returnUrl'] = this.returnUrl;
} else {
json[r'returnUrl'] = null;
}
if (this.cancelUrl != null) {
json[r'cancelUrl'] = this.cancelUrl;
} else {
json[r'cancelUrl'] = null;
}
return json;
}