clearWithPrefix method
- @override
- @Deprecated('Use clearWithParameters instead')
- String prefix
override
Removes all keys and values in the store with given prefix
.
Implementation
@override
@Deprecated('Use clearWithParameters instead')
Future<bool> clearWithPrefix(String prefix) async {
return clearWithParameters(
ClearParameters(
filter: PreferencesFilter(prefix: prefix),
),
);
}