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