SemanticMap class
Floor classifier output — a node we know about but can't classify. Keeps
label for debugging and glintId so the agent can still target it.
A Google map: its camera and what it draws, filled by MapEnricher from the widget and its controller.
- Inheritance
-
- Object
- SemanticNode
- SemanticMap
Constructors
- SemanticMap({String? glintId})
Properties
-
affordances
→ Set<
Affordance> -
Intrinsic role affordances are seeded at construction; mutable so a later
behavior pass can add ones the role alone can't know (e.g. onTap-wrapped).
finalinherited
- center ↔ String?
-
Center of the visible map, "lat, lng".
getter/setter pair
-
children
→ List<
SemanticNode> -
finalinherited
- displayLabel → String
-
Short label for the plain-text renderer; each variant picks the
most useful field (button label, text content, etc.).
no setteroverride
- glintId → String?
-
Null when the node is purely structural.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inert ↔ Inert?
-
Set by InertEnricher on a control faded to opacity 0 or under an active IgnorePointer / AbsorbPointer.
getter/setter pairinherited
-
markers
→ List<
({String at, String id, ({int x, int y})? screen, String title})> -
Each marker with its screen point in logical points (null when off screen or not answered).
final
- note ↔ String?
-
Why the camera is missing, when it is.
getter/setter pair
- rect ↔ ({double h, double w, double x, double y})?
-
Where the map is on screen, in logical points.
getter/setter pair
- role → SemanticRole
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shows ↔ String?
-
The visible region, "south..north, west..east".
getter/setter pair
- zoom ↔ double?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
walk(
) → Iterable< SemanticNode> -
Pre-order traversal.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited