maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult loading(
- DashboardLoadingState value
- TResult initialState(
- DashboardInitialState value
- TResult fetched(
- DashboardFetchedState value
- TResult error(
- DashboardErrorState value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(DashboardLoadingState value)? loading,
TResult Function(DashboardInitialState value)? initialState,
TResult Function(DashboardFetchedState value)? fetched,
TResult Function(DashboardErrorState value)? error,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;