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