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