Place constructor
Place({
- String id = "",
- String name = "",
- String description = "",
- String ownerName = "",
- String ownerId = "",
- String ownerImgUrl = "",
- PlaceType type = PlaceType.publicSpace,
- Address? address,
- double reviewStars = 0.0,
- Price? price,
- PlaceCommodity? placeCommodity,
- Position? position,
- bool isActive = true,
- bool isMain = true,
- List<
String> galleryImgUrls = const [], - List<
String> bookings = const [], - List<
String> reviews = const [],
Implementation
Place({
this.id = "",
this.name = "",
this.description = "",
this.ownerName = "",
this.ownerId = "",
this.ownerImgUrl = "",
this.type = PlaceType.publicSpace,
this.address,
this.reviewStars = 0.0,
this.price,
this.placeCommodity,
this.position,
this.isActive = true,
this.isMain = true,
this.galleryImgUrls = const [],
this.bookings = const [],
this.reviews = const []
});