when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult initialize(),
- required TResult searchByHousehold(),
- required TResult searchByHouseholdHead(),
- required TResult searchByProximity(),
- required TResult searchByTag(),
- required TResult clear(),
- required TResult individualGlobalSearch(
- GlobalSearchParameters globalSearchParams
- required TResult houseHoldGlobalSearch(
- GlobalSearchParameters globalSearchParams
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() initialize,
required TResult Function(
String projectId,
double? latitude,
double? longitude,
double? maxRadius,
bool isProximityEnabled,
HouseholdModel householdModel)
searchByHousehold,
required TResult Function(
String searchText,
String projectId,
bool isProximityEnabled,
double? latitude,
double? longitude,
double? maxRadius,
String? tag,
int offset,
int limit)
searchByHouseholdHead,
required TResult Function(double latitude, double longititude,
String projectId, double maxRadius, int offset, int limit)
searchByProximity,
required TResult Function(String tag, String projectId) searchByTag,
required TResult Function() clear,
required TResult Function(GlobalSearchParameters globalSearchParams)
individualGlobalSearch,
required TResult Function(GlobalSearchParameters globalSearchParams)
houseHoldGlobalSearch,
}) =>
throw _privateConstructorUsedError;