C2ChoiceMemoizer<T> class

alias to AsyncMemoizer

Constructors

C2ChoiceMemoizer()

Properties

future Future<List<C2Choice<T>>>
The future containing the method's result.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasRun bool
Whether runOnce has been called yet.
no setterinherited
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
runOnce(FutureOr<List<C2Choice<T>>> computation()) Future<List<C2Choice<T>>>
Runs the function, computation, if it hasn't been run before.
inherited
toString() String
A string representation of this object.
inherited

Operators

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