whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? empty()?,
- TResult? loading()?,
- TResult? fetched(
- List<
FacilityModel> facilities, - List<
FacilityModel> allFacilities
- List<
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function()? empty,
TResult? Function()? loading,
TResult? Function(
List<FacilityModel> facilities, List<FacilityModel> allFacilities)?
fetched,
}) =>
throw _privateConstructorUsedError;