Pair<A, B> class

Creates a pair of values.

Constructors

Pair(A _a, B _b)
Creates a Pair of two values. Both can have different types

Properties

first → A
Get the left/first value in this Pair
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second → B
Get the right/last value in this Pair
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Combines a and b into a String, like "a, b".
override

Operators

operator ==(dynamic other) bool
Compares a Pair with another Object.
override