A key that uses a value of a particular type to identify itself.

A ValueKey<T> is equal to another ValueKey<T> if, and only if, their values are operator==.

Inheritance

Constructors

ValueKey(T value)

Creates a key that delgates its operator== to the given value.

const

Properties

hashCode int

read-only
value → T

The value to which this key delegates its operator==

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

Methods

toString() String

Returns a string representation of this object.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited