toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "id": id,
  "tags": tags,
  "addTags": addTags,
  "removeTags": removeTags,
  "detail1": detail1,
  "detail2": detail2,
  "adminUserIds": adminUserIds,
  "addAdminUserIds": addAdminUserIds,
  "removeAdminUserIds": removeAdminUserIds,
  "title": title,
  "capacity": capacity,
  "pricePerNight": pricePerNight,
  "hotelId": hotelId,
  "roomNumber": roomNumber,
  "quantity": quantity,
  "isAvailable": isAvailable,
  "description": description,
  "bedType": bedType,
  "sizeSquareMeters": sizeSquareMeters,
  "floor": floor,
  "extraGuestCapacity": extraGuestCapacity,
  "extraGuestPrice": extraGuestPrice,
};