HighlightMessage class

Backend → Frontend.

Constructors

HighlightMessage({String? targetStableId, String? targetIdentifier, List<int>? bounds, int? durationMs, String? align, bool clear = false})
const
HighlightMessage.fromJson(Map<String, dynamic> json)
factory

Properties

align → String?
Rescue-scroll alignment when the target is off-screen (center / start / end / nearest). Guided walkthroughs send center.
final
bounds → List<int>?
final
clear → bool
When true, remove any standalone highlight currently on screen and ignore the target fields. Strict: only a JSON true clears.
final
durationMs → int?
How long to leave the highlight on screen. 0 means sticky — it stays until a clear (Android parity); null falls back to the config default.
final
hashCode → int
The hash code for this object.
no setterinherited
hasTarget → bool
True when the message names something the find ladder can resolve (as opposed to raw bounds only).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetIdentifier → String?
final
targetStableId → String?
final
type → String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

kType → const String