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