Tuple3<T1, T2, T3> extension
Extension methods on Record with 3 positional elements.
- on
-
- (T1, T2, T3)
Properties
- first → T1
-
Available on (T1, T2, T3), provided by the Tuple3 extension
The first element of this tuple.no setter -
iterable
→ Iterable<
Object?> -
Available on (T1, T2, T3), provided by the Tuple3 extension
An untyped Iterable over the values of this tuple.no setter - last → T3
-
Available on (T1, T2, T3), provided by the Tuple3 extension
The last element of this tuple.no setter - length → int
-
Available on (T1, T2, T3), provided by the Tuple3 extension
The number of elements in the tuple.no setter - second → T2
-
Available on (T1, T2, T3), provided by the Tuple3 extension
The second element of this tuple.no setter - third → T3
-
Available on (T1, T2, T3), provided by the Tuple3 extension
The third element of this tuple.no setter
Methods
-
addFirst<
T> (T value) → (T, T1, T2, T3) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple withvalueadded at the first position. -
addFourth<
T> (T value) → (T1, T2, T3, T) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple withvalueadded at the fourth position. -
addLast<
T> (T value) → (T1, T2, T3, T) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple withvalueadded at the last position. -
addSecond<
T> (T value) → (T1, T, T2, T3) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple withvalueadded at the second position. -
addThird<
T> (T value) → (T1, T2, T, T3) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple withvalueadded at the third position. -
map<
R> (R callback(T1 first, T2 second, T3 third)) → R -
Available on (T1, T2, T3), provided by the Tuple3 extension
Transforms the elements of this tuple usingcallback. -
removeFirst(
) → (T2, T3) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple with the first element removed. -
removeLast(
) → (T1, T2) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple with the last element removed. -
removeSecond(
) → (T1, T3) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple with the second element removed. -
removeThird(
) → (T1, T2) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple with the third element removed. -
toList(
) → List< Object?> -
Available on (T1, T2, T3), provided by the Tuple3 extension
Converts this tuple to an untyped List. -
toSet(
) → Set< Object?> -
Available on (T1, T2, T3), provided by the Tuple3 extension
Converts this tuple to an untyped Set of unique values. -
withFirst<
T> (T value) → (T, T2, T3) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple with the first element replaced byvalue. -
withLast<
T> (T value) → (T1, T2, T) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple with the last element replaced byvalue. -
withSecond<
T> (T value) → (T1, T, T3) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple with the second element replaced byvalue. -
withThird<
T> (T value) → (T1, T2, T) -
Available on (T1, T2, T3), provided by the Tuple3 extension
Returns a new tuple with the third element replaced byvalue.