whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? empty()?,
  2. TResult? loading()?,
  3. TResult? fetched(
    1. List<ProjectFacilityModel> projectFacilities
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function()? empty,
  TResult? Function()? loading,
  TResult? Function(List<ProjectFacilityModel> projectFacilities)? fetched,
}) =>
    throw _privateConstructorUsedError;