Tuple6<T1, T2, T3, T4, T5, T6> extension

Extension methods on Record with 6 positional elements.

on
  • (T1, T2, T3, T4, T5, T6)

Properties

fifth → T5

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

The fifth element of this tuple.
no setter
first → T1

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

The first element of this tuple.
no setter
fourth → T4

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

The fourth element of this tuple.
no setter
iterable → Iterable<Object?>

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

An untyped Iterable over the values of this tuple.
no setter
last → T6

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

The last element of this tuple.
no setter
length → int

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

The number of elements in the tuple.
no setter
second → T2

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

The second element of this tuple.
no setter
sixth → T6

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

The sixth element of this tuple.
no setter
third → T3

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

The third element of this tuple.
no setter

Methods

addFifth<T>(T value) → (T1, T2, T3, T4, T, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with value added at the fifth position.
addFirst<T>(T value) → (T, T1, T2, T3, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with value added at the first position.
addFourth<T>(T value) → (T1, T2, T3, T, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with value added at the fourth position.
addLast<T>(T value) → (T1, T2, T3, T4, T5, T6, T)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with value added at the last position.
addSecond<T>(T value) → (T1, T, T2, T3, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with value added at the second position.
addSeventh<T>(T value) → (T1, T2, T3, T4, T5, T6, T)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with value added at the seventh position.
addSixth<T>(T value) → (T1, T2, T3, T4, T5, T, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with value added at the sixth position.
addThird<T>(T value) → (T1, T2, T, T3, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with value added at the third position.
map<R>(R callback(T1 first, T2 second, T3 third, T4 fourth, T5 fifth, T6 sixth)) → R

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Transforms the elements of this tuple using callback.
removeFifth() → (T1, T2, T3, T4, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the fifth element removed.
removeFirst() → (T2, T3, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the first element removed.
removeFourth() → (T1, T2, T3, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the fourth element removed.
removeLast() → (T1, T2, T3, T4, T5)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the last element removed.
removeSecond() → (T1, T3, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the second element removed.
removeSixth() → (T1, T2, T3, T4, T5)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the sixth element removed.
removeThird() → (T1, T2, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the third element removed.
toList() → List<Object?>

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Converts this tuple to an untyped List.
toSet() → Set<Object?>

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Converts this tuple to an untyped Set of unique values.
withFifth<T>(T value) → (T1, T2, T3, T4, T, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the fifth element replaced by value.
withFirst<T>(T value) → (T, T2, T3, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the first element replaced by value.
withFourth<T>(T value) → (T1, T2, T3, T, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the fourth element replaced by value.
withLast<T>(T value) → (T1, T2, T3, T4, T5, T)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the last element replaced by value.
withSecond<T>(T value) → (T1, T, T3, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the second element replaced by value.
withSixth<T>(T value) → (T1, T2, T3, T4, T5, T)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the sixth element replaced by value.
withThird<T>(T value) → (T1, T2, T, T4, T5, T6)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Returns a new tuple with the third element replaced by value.

Static Methods

fromList<T>(List<T> list) → (T, T, T, T, T, T)

Available on (T1, T2, T3, T4, T5, T6), provided by the Tuple6 extension

Creates a tuple from the elements in list.