maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult idle(
- Idle<
T> value
- Idle<
- TResult loading(
- Loading<
T> value
- Loading<
- TResult success(
- Success<
T> value
- Success<
- TResult failure(
- Failure<
T> value
- Failure<
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(Idle<T> value)? idle,
TResult Function(Loading<T> value)? loading,
TResult Function(Success<T> value)? success,
TResult Function(Failure<T> value)? failure,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;