MapStorageAccessAgent.by constructor
MapStorageAccessAgent.by(
- EntityCache cache, [
- Map<
String, String> ? storage
Constructs with the given cache
.
*
-
cache
- the cache for storing the entity. It can't be null.
Implementation
MapStorageAccessAgent.by(EntityCache cache, [Map<String, String>? storage]):
_storage = storage ?? {},
_cache = cache;