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