mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<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<
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
throw _privateConstructorUsedError;