Pair<F, S> class

Represents a pair of objects. It is useful for implementing a function returning a pair of objects.

Constructors

Pair(F first, S second)
const
Pair.from((F, S) value)
Pair.fromJson(List json)

Properties

first → F
final
hashCode int
The hash code for this object.
no setteroverride
last → S
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second → S
final

Methods

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

Operators

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