stringMapStoreFactory top-level property

StoreFactoryBase<String, Map<String, Object?>> stringMapStoreFactory
final

Store factory with key as String and value as Map

stringMapStoreFactory.store('name') is a StoreRef<String, Map<String, Object?>>: add generates unique String keys, record('my_key').put(...) uses your own keys. Without a name, it is the main store.

final users = stringMapStoreFactory.store('users');
await users.record('alice').put(db, {'name': 'Alice'});

Implementation

final stringMapStoreFactory = StoreFactoryBase<String, Map<String, Object?>>();