AsyncFinal<T> class

AsyncFinal is configuration simulate asynchronous assignment using final keyword.

Implemented types

Constructors

AsyncFinal({Object? name, required Equal<Future<T>> equal, ExposeValue<T>? expose, DisposeValue<T>? dispose})
Assign an instance asynchronously and exposing it in current scope.
const

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

configure(ConfigurableScope scope) FutureOr<void>
configure is used to configure scope synchronously or asynchronously.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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