getAllWithPrefix method

  1. @override
  2. @Deprecated('Use getAllWithParameters instead')
Future<Map<String, Object>> getAllWithPrefix(
  1. String prefix, {
  2. Set<String>? allowList,
})
override

Returns all key/value pairs persisting in this store that have given prefix.

Implementation

@override
@Deprecated('Use getAllWithParameters instead')
Future<Map<String, Object>> getAllWithPrefix(
  String prefix, {
  Set<String>? allowList,
}) async {
  return getAllWithParameters(
    GetAllParameters(
      filter: PreferencesFilter(prefix: prefix),
    ),
  );
}