LoadingStateRegistry class
A global registry to access LoadingStateDumper instances by contextId. This allows network requests and other low-level components to report loading state without direct access to the controller.
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
-
clear(
) → void - Clear all registered dumpers
-
getDumper(
double contextId) → LoadingState? - Get the LoadingStateDumper for a specific contextId
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
double contextId, LoadingState dumper) → void - Register a LoadingStateDumper for a specific contextId
-
toString(
) → String -
A string representation of this object.
inherited
-
unregister(
double contextId) → void - Unregister a LoadingStateDumper when the context is disposed
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → LoadingStateRegistry
-
no setter