whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? initialize()?,
- TResult? searchByHousehold()?,
- TResult? searchByHouseholdHead()?,
- TResult? searchByProximity()?,
- TResult? searchByTag()?,
- TResult? clear()?,
- TResult? individualGlobalSearch(
- GlobalSearchParameters globalSearchParams
- TResult? houseHoldGlobalSearch(
- GlobalSearchParameters globalSearchParams
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;