Pair<T, U> class

A generic Pair class to hold two values.

Constructors

Pair(T first, U second)
Constructs a Pair with the given values.

Properties

first → T
The first value in the pair.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second → U
The second value in the pair.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts the pair to a map for easier processing.
toString() String
A string representation of this object.
inherited

Operators

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