PerfInteraction class final

One dusk gesture inside a perf session, from dispatch to settle.

Read it off the zone with Zone.current[#fluttersdk_interaction], the public symbol zoneKey names; a public symbol is equal across libraries (dart-sdk lib/core/symbol.dart:38-39), so a host reads it without importing dusk. A handle whose closedAtUs is set is ABSENT: Timers and stream subscriptions created in the zone keep it forever (a Reverb socket opened during a login tap), and without the close every later message on that socket would be attributed to the tap.

Properties

closedAtUs → int?
FlutterTimeline.now when the interaction settled, or null while it is still open.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
i<N>, unique for the isolate's lifetime.
final
isOpen → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startUs → int
FlutterTimeline.now at dispatch, in microseconds.
final
target → String?
The ref, route or key the verb acted on; null for a verb without one (blur, dismiss_modals).
final
verb → String
The ext.dusk.* verb without its prefix (tap, fill, scroll).
final

Methods

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

Operators

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

Constants

zoneKey → const Symbol
The zone value key, #fluttersdk_interaction.