maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult loading(
    1. DashboardLoadingState value
    )?,
  2. TResult initialState(
    1. DashboardInitialState value
    )?,
  3. TResult fetched(
    1. DashboardFetchedState value
    )?,
  4. TResult error(
    1. DashboardErrorState value
    )?,
  5. 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;