AssociativeModelState class

Detached raw associative state. Entries omitted during load are unchanged, or reset when replace is requested.

Constructors

AssociativeModelState({required int keyWidth, required int entryCount, required Map<int, AssociativeModelEntry> entries})
Creates an immutable raw-state image.
AssociativeModelState.fromPortableString(String text, {required int keyWidth, required int entryCount})
Decodes a complete image with the expected storage geometry.
factory

Properties

entries → Map<int, AssociativeModelEntry>
Indexed entries.
final
entryCount → int
Number of entries.
final
hashCode → int
The hash code for this object.
no setterinherited
keyWidth → int
Key width.
final
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
toPortableString() → String
Encodes a complete storage image, without execution or external state.
toString() → String
A string representation of this object.
inherited

Operators

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