fromMap static method
Gets a possible WebStorageItem instance from a Map value.
Implementation
static WebStorageItem? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = WebStorageItem(
key: map['key'],
value: map['value'],
);
return instance;
}