remove method
Removes one or more items from storage.
keys A single key or a list of keys for items to remove.
returns Callback on success, or on failure (in which case
runtime.lastError will be set).
Implementation
Future<void> remove(Object keys) async {
await _wrapped
.remove(switch (keys) {
String() => keys.toJS,
List() => keys.toJSArrayString(),
_ => throw UnsupportedError(
'Received type: ${keys.runtimeType}. Supported types are: String, List<String>')
})
.toDart;
}