mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
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;