Place class

Constructors

Place.new({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 []})
Place.addBasic(PlaceType type)
Place.fromJSON(dynamic data)

Properties

address Address?
getter/setter pair
bookings List<String>
getter/setter pair
description String
getter/setter pair
galleryImgUrls List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
isActive bool
getter/setter pair
isMain bool
getter/setter pair
name String
getter/setter pair
ownerId String
getter/setter pair
ownerImgUrl String
getter/setter pair
ownerName String
getter/setter pair
placeCommodity PlaceCommodity?
getter/setter pair
position ↔ Position?
getter/setter pair
price Price?
getter/setter pair
reviews List<String>
getter/setter pair
reviewStars double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type PlaceType
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() Map<String, dynamic>
toJSONSimple() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited