Skip to Content

LzPlace

Represents a place in the Lazarillo platform.

A place can be a building, a point of interest, or any location managed by the Lazarillo SDK. Places may contain sub-places, floors, and properties.

Constructors

LzPlace.new

LzPlace.new(String lazarilloId, String? clientId, String title, String description, bool accessibleRoutes, String category, String categoryId, LatLng position, String? address, bool hasBeacons, bool hasMessagePoints, List<LzProperty> properties, Map<String, InnerFloor> innerFloors, String? inFloorId, String? logo)

Creates an LzPlace with all fields. const

LzPlace.fromJson

LzPlace.fromJson(Map<String, dynamic> json)

factory

Properties

PropertyTypeDescription
accessibleRoutesboolWhether accessible routes are available at this place. (final)
addressString?Street address of the place, if available. (final)
categoryStringLocalized category name (e.g. “Restaurant”, “Office”). (final)
categoryIdStringCategory identifier. (final)
clientIdString?External (client-provided) identifier, if any. (final)
descriptionStringHuman-readable description of the place. (final)
hasBeaconsboolWhether this place has BLE beacons for indoor positioning. (final)
hasMessagePointsboolWhether this place has message points. (final)
inFloorIdString?The floor ID this place belongs to, if it is inside a building. (final)
innerFloorsMap<StringMap of floor ID to InnerFloor for multi-floor places. (final)
lazarilloIdStringUnique identifier assigned by Lazarillo. (final)
logoString?URL of the place’s logo image, if available. (final)
nameString(no setter)
positionLatLngGeographic coordinates of the place. (final)
propertiesList<LzPropertyCustom properties associated with this place. (final)
titleStringDisplay name of the place. (final)

Methods

toJson

toJson() → Map<String, dynamic>
Last updated on