BackendStateIdentity class abstract

Optional backend capability for reporting the LlamaStateIdentity of the state BackendStatePersistence.stateSaveFile writes.

Implement it only when the runtime can name its own build: an identity without one cannot tell two runtimes apart. Throw UnsupportedError (or LlamaUnsupportedException) when the active runtime cannot report one.

Constructors

BackendStateIdentity()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stateIdentity(int contextHandle) → Future<LlamaStateIdentity>
The identity of the state contextHandle saves and loads.
toString() → String
A string representation of this object.
inherited

Operators

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