clearWithPrefix method

  1. @override
  2. @Deprecated('Use clearWithParameters instead')
Future<bool> clearWithPrefix(
  1. 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),
    ),
  );
}