getAllWithParameters method

  1. @override
Future<Map<String, Object>> getAllWithParameters(
  1. GetAllParameters parameters
)
override

Returns all key/value pairs persisting in this store that match options.

Implementation

@override
Future<Map<String, Object>> getAllWithParameters(
    GetAllParameters parameters) async {
  final PreferencesFilter filter = parameters.filter;
  final Map<String?, Object?> data =
      await _api.getAll(filter.prefix, filter.allowList?.toList());
  return data.cast<String, Object>();
}