maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult getContacts()?,
- TResult setSearchText(
- String searchText
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(bool openSettings, bool getIfHasPermission)? getContacts,
TResult Function(String searchText)? setSearchText,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;