toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
}
if (customerId != null) {
_json[r'customer_id'] = customerId;
}
if (productId != null) {
_json[r'product_id'] = productId;
}
_json[r'add_ons'] = addOns;
if (startAt != null) {
_json[r'start_at'] = startAt;
}
if (endAt != null) {
_json[r'end_at'] = endAt;
}
if (createAt != null) {
_json[r'create_at'] = createAt;
}
if (seats != null) {
_json[r'seats'] = seats;
}
if (dns != null) {
_json[r'dns'] = dns;
}
return _json;
}