mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? empty(
    1. FacilityEmptyState value
    )?,
  2. TResult? loading(
    1. FacilityLoadingState value
    )?,
  3. TResult? fetched(
    1. FacilityFetchedState value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(FacilityEmptyState value)? empty,
  TResult? Function(FacilityLoadingState value)? loading,
  TResult? Function(FacilityFetchedState value)? fetched,
}) =>
    throw _privateConstructorUsedError;