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