Pair<T, U> class

A wrapper class for a pair of objects. It is used to return two objects from a function. T is the type of the first object. U is the type of the second object.

Constructors

Pair(T first, U second)

Properties

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

Methods

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

Operators

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