ScopeDependencyGroup class abstract base Scope

Mixed-in types
Available extensions

Properties

count int
How many steps this subtree reports while it initializes.
no setteroverride
debugLabel String
How this object names itself in a report.
no setteroverride
dependencies List<ScopeDependency>
The children of this group, in declaration order.
no setter
disposalRequired bool
A group holds nothing of its own, so what it needs disposing of is whatever its children still hold — which is why a group whose initialization failed or was cancelled is disposed of too.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
initializationRequired bool

Available on ScopeDependency, provided by the ScopeDependencyExtension extension

Whether this dependency has yet to be initialized.
no setter
isCancelled bool

Available on ScopeDependency, provided by the ScopeDependencyExtension extension

Whether the initialization or the disposal was cancelled.
no setter
isDisposed bool

Available on ScopeDependency, provided by the ScopeDependencyExtension extension

Whether the disposal is over, including when there was nothing to do.
no setter
isFailed bool

Available on ScopeDependency, provided by the ScopeDependencyExtension extension

Whether the initialization or the disposal failed.
no setter
isGroup bool

Available on ScopeDependency, provided by the ScopeDependencyExtension extension

Whether this is a group rather than a single dependency.
no setter
isInitialized bool

Available on ScopeDependency, provided by the ScopeDependencyExtension extension

Whether the initialization succeeded.
no setter
name String
The name this dependency was declared with.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state ScopeDependencyState
Where in its lifecycle this dependency is.
no setterinherited
wrappedName String
The name as it appears in a tree dump — "dep" or [group].
no setteroverride

Methods

dispose() Stream<String>
Automates the disposal process.
inherited
init() Stream<String>
Automates the initialization process.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onUnmount() → void
Unmounts every child, in reverse, whatever any one of them makes of it.
override
stateToString() String
The state as a line of a tree dump.
override
toString() String
A string representation of this object.
inherited

Operators

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