InitializationResult class

The initialization result of a Initializable instance.

Constructors

InitializationResult(Initializable initializable, bool ok, {Iterable<Initializable>? dependencies})
InitializationResult.error(Initializable initializable)
factory
InitializationResult.ok(Initializable initializable, {Iterable<Initializable>? dependencies})
factory

Properties

dependencies List<Initializable>
The dependencies of this Initializable instance.
final
hashCode int
The hash code for this object.
no setterinherited
initializable Initializable
The Initializable of this result.
final
ok bool
true if the initialization was OK.
final
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
toString() String
A string representation of this object.
override

Operators

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