Skip to Content

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

PropertyTypeDescription
childIdsList<StringIDs of child places associated with this property. (final)
childPropetiesList<LzPropertyNested child properties, if any. (final)
iconString?Icon name associated with this property, if any. (final)
textString?Text content of the property, if any. (final)
titleStringThe property key or title identifier. (final)
typeString?The type of property (e.g. “phone”, “email”, “schedule”). (final)
urlString?URL associated with this property, if any. (final)

Methods

toJson

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