CompositeKey class final

Composite key built from a list of primitive parts.

parts must contain only primitive values (num, String, Symbol, bool). Non-primitive parts (e.g. List, Map, custom objects without a content-based hashCode) would break the ==/hashCode contract: equal keys could end up with different hashes, corrupting Set<Key> and Map<Key, _> lookups used by focus and async tracking.

Inheritance

Constructors

CompositeKey(List<Object> parts)

Properties

hashCode int
The hash code for this object.
no setteroverride
parts List<Object>
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
toString() String
A string representation of this object.
override

Operators

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