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
| Property | Type | Description |
|---|---|---|
accessibleRoutes | bool | Whether accessible routes are available at this place. (final) |
address | String? | Street address of the place, if available. (final) |
category | String | Localized category name (e.g. “Restaurant”, “Office”). (final) |
categoryId | String | Category identifier. (final) |
clientId | String? | External (client-provided) identifier, if any. (final) |
description | String | Human-readable description of the place. (final) |
hasBeacons | bool | Whether this place has BLE beacons for indoor positioning. (final) |
hasMessagePoints | bool | Whether this place has message points. (final) |
inFloorId | String? | The floor ID this place belongs to, if it is inside a building. (final) |
innerFloors | Map<String | Map of floor ID to InnerFloor for multi-floor places. (final) |
lazarilloId | String | Unique identifier assigned by Lazarillo. (final) |
logo | String? | URL of the place’s logo image, if available. (final) |
name | String | — (no setter) |
position | LatLng | Geographic coordinates of the place. (final) |
properties | List<LzProperty | Custom properties associated with this place. (final) |
title | String | Display name of the place. (final) |
Methods
toJson
toJson() → Map<String, dynamic>Last updated on