KachePersistenceBinding<T> class abstract

Opaque, backend-specific configuration for persisting values of type T.

External storage packages extend this class to attach their own mapping or migration configuration. Core code only uses backend and fingerprint.

Constructors

KachePersistenceBinding({required KachePersistenceBackend backend, required String fingerprint})
Creates a binding owned by backend with a stable fingerprint.

Properties

backend KachePersistenceBackend
The only backend instance that may use this binding.
final
fingerprint String
A deterministic, unique identity for the complete storage interpretation.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ensureBackend(KachePersistenceBackend candidate) → void
Verifies that candidate is the backend instance that owns this binding.
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