toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
}
if (name != null) {
_json[r'name'] = name;
}
if (description != null) {
_json[r'description'] = description;
}
if (pricePerSeat != null) {
_json[r'price_per_seat'] = pricePerSeat;
}
_json[r'add_ons'] = addOns;
return _json;
}