InitializationResult class

The initialization result of a Initializable instance.

Constructors

InitializationResult(Initializable initializable, bool ok, {Iterable<Initializable>? dependencies, Object? error, StackTrace? stackTrace})
InitializationResult.error(Initializable initializable, [Object? error, StackTrace? stackTrace])
factory
InitializationResult.ok(Initializable initializable, {Iterable<Initializable>? dependencies})
factory

Properties

dependencies → List<Initializable>
The dependencies of this Initializable instance.
final
error → Object?
The thrown error, if any.
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
stackTrace → StackTrace?
The thrown error StackTrace, if any.
final

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