TaskOption<A> class

Represents a Task that resolves to an Option. Useful for creating async operations that might return nothing.

Can also be represented by Task<Option<A>>.

Implemented types

Constructors

TaskOption(Task<Option<A>> _task)

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

call() FutureOr<Option<A>>
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