PerceptionAnchor<T> class abstract

A synchronous snapshot bridge between imperative host state (Navigator, RouterDelegate, …) and a perception build.

dio's DioPerception can read a plain Dart model (the interceptor) directly, so it needs no anchor. The router's fragment is computed from Flutter's Navigator/RouterDelegate — imperative widget-tree state, not a plain model. A PerceptionAnchor is the tiny adapter that captures a synchronous SNAPSHOT of that state at observation time and feeds it into the perception build.

Constructors

PerceptionAnchor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() → T
Reads a synchronous snapshot of the underlying imperative state.
toString() String
A string representation of this object.
inherited

Operators

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