LzProperty
A custom property associated with a place.
Properties represent additional metadata such as contact info, opening hours, or nested sub-properties.
Constructors
LzProperty.new
LzProperty.new(String title, String? icon, String? text, String? url, String? type, List<LzProperty>? childPropeties, List<String>? childIds)Creates an LzProperty with the given fields. const
LzProperty.fromJson
LzProperty.fromJson(Map<String, dynamic> json)factory
Properties
| Property | Type | Description |
|---|---|---|
childIds | List<String | IDs of child places associated with this property. (final) |
childPropeties | List<LzProperty | Nested child properties, if any. (final) |
icon | String? | Icon name associated with this property, if any. (final) |
text | String? | Text content of the property, if any. (final) |
title | String | The property key or title identifier. (final) |
type | String? | The type of property (e.g. “phone”, “email”, “schedule”). (final) |
url | String? | URL associated with this property, if any. (final) |
Methods
toJson
toJson() → Map<String, dynamic>Last updated on