set method
Sets multiple items.
items An object which gives each key/value pair to update storage
with. Any other key/value pairs in storage will not be affected.
Primitive values such as numbers will serialize as expected. Values with
a typeof "object" and "function" will typically serialize to {},
with the exception of Array (serializes as expected), Date, and
Regex (serialize using their String representation).
returns Promise that resolves on success, or rejects on failure.
Implementation
Future<void> set(Map items) async {
await _wrapped.set(items.jsify()!).toDart;
}