MapStorageAccessAgent.by constructor

MapStorageAccessAgent.by(
  1. EntityCache cache, [
  2. 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;