LockStoreFactory class

Factory for building LockStore instances.

Inheritance

Constructors

LockStoreFactory({required Future<LockStore> create(), Future<void> dispose(LockStore value)?})
Creates a lock store factory from create/dispose hooks.
LockStoreFactory.inMemory()
Creates an in-memory lock store factory.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create() Future<LockStore>
Creates a new resource instance.
inherited
dispose(LockStore value) Future<void>
Disposes a resource instance if a disposer is configured.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited