Tuple<T> class

Basic two value tuple, where the values have the same type.

Use tuple.x, or tuple.y to lookup values. For tuples containing values of the different types, use PolyTuple instead.

Constructors

Tuple(T x, T y)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x ↔ T
getter/setter pair
y ↔ T
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList() List<T>
toString() String
A string representation of this object.
inherited

Operators

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