Pair<A, B> class
Represents a generic pair of two values.
There is no meaning attached to values in this class, it can be used for any purpose. Pair exhibits value semantics, i.e. two pairs are equal if both components are equal.
A
: type of the first value
B
: type of the second value
- Available Extensions
Constructors
- Pair(A first, B second)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns string representation of the Pair including its first and second values.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override