Tuple2<T1, T2> class

Constructors

Tuple2(T1 value1, T2 value2)
const
Tuple2.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value1 → T1
final
value2 → T2
final

Methods

apply<R>(Function2<T1, T2, R> f) → R
copyWith({T1? value1, T2? value2}) Tuple2<T1, T2>
map1<NT1>(Function1<T1, NT1> f) Tuple2<NT1, T2>
map2<NT2>(Function1<T2, NT2> f) Tuple2<T1, NT2>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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