Tuple2<T1, T2> class
- Annotations
-
- @sealed
- @immutable
Constructors
- Tuple2.new(T1 first, T2 second)
-
const
- Tuple2.empty()
-
factory
- Tuple2.fromList(List items)
-
Create a new tuple value with the specified list
items
.factory
Properties
Methods
-
mapFirst<
U> (U f(T1)) → Tuple2< U, T2> -
mapSecond<
U> (U f(T2)) → Tuple2< T1, U> -
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