RouterReportManager<T> class
Properties
- currentBindingOwnerName → String?
-
The route name new dependency registrations should be attributed to,
or
nullwhen none is in scope. Read by the instance manager when a registration is created.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appendRouteByCreate(
GetLifeCycleMixin i) → void -
clearRouteKeys(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printInstanceStack(
) → void -
reportCurrentRoute(
T newRoute) → void -
reportDependencyLinkedToRoute(
String dependencyKey, {String? ownerRouteName}) → void -
Links a Class instance
S(ortag) to the current route. Requires usage ofGetMaterialApp. -
reportRouteDispose(
T disposed) → void -
reportRouteName(
String name, T route) → void -
Registers
routeas an installed route namedname, making it a candidate target for reportDependencyLinkedToRoute calls that carry the sameownerRouteName. -
reportRouteWillDispose(
T disposed) → void -
runWithBindingOwner<
R> (String ownerRouteName, R body()) → R -
Runs
body(a binding'sdependencies()) attributing every dependency registration it creates to the route namedownerRouteName, so that the dependency is later linked to that route even when its first resolution happens while another route (e.g. a deep-linked descendant) is current. -
toString(
) → String -
A string representation of this object.
inherited
-
unreportRouteName(
String name, T route) → void -
Removes
routefrom the name registry when it is disposed.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → RouterReportManager
-
no setter
Static Methods
-
dispose(
) → void