map<TResult extends Object?> method
TResult
map<TResult extends Object?>({
- required TResult loading(
- PromiseLoading<
T> value
- PromiseLoading<
- required TResult error(
- PromiseError<
T> value
- PromiseError<
- required TResult data(
- PromiseData<
T> value
- PromiseData<
inherited
Implementation
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(PromiseLoading<T> value) loading,
required TResult Function(PromiseError<T> value) error,
required TResult Function(PromiseData<T> value) data,
}) =>
throw _privateConstructorUsedError;