TaskEitherValue<L, R> typedef
TaskEitherValue<L, R> = Either<L, dynamic>
Represent the different states of an async operation.
Is Left
when there was an error.
The tuple includes a boolean indicating the loading state.
Implementation
typedef TaskEitherValue<L, R> = Either<L, Tuple2<Option<R>, bool>>;