Tuple<T, R> class
A generic Tuple class with two typed elements, T
and R
.
Tuples are immutable, and this class provides a simple way to store pairs of values.
Constructors
- Tuple(T item1, R item2)
-
Constructor to initialize the tuple with the provided values.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited