remove method

Future<void> remove(
  1. String key
)

Removes an entry from the platform.

Implementation

Future<void> remove(String key) {
  return _platform.clear(
    ClearPreferencesParameters(
      filter: PreferencesFilters(allowList: <String>{key}),
    ),
    _options,
  );
}