maybeMap<TResult extends Object?> abstract method
- @optionalTypeArgs
- TResult data(
- AsyncData<
T> value
- AsyncData<
- TResult loading(
- AsyncLoading<
T> value
- AsyncLoading<
- TResult error(
- AsyncError<
T> value
- AsyncError<
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(AsyncData<T> value)? data,
TResult Function(AsyncLoading<T> value)? loading,
TResult Function(AsyncError<T> value)? error,
required TResult orElse(),
});