toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"title": title,
"entrancePrice": entrancePrice,
"hourlyPrice": hourlyPrice,
"dailyPrice": dailyPrice,
"tags": List<dynamic>.from(tags.map((int x) => x)),
"detail1": detail1,
"detail2": detail2,
"id": id,
"creatorId": creatorId,
"adminUserIds": adminUserIds == null ? <dynamic>[] : List<dynamic>.from(adminUserIds!.map((String x) => x)),
};