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