Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> class
Tuple with 8 elements.
Constructors
- Tuple8(T1 first, T2 second, T3 third, T4 fourth, T5 fifth, T6 sixth, T7 seventh, T8 eighth)
-
Const constructor.
const
Properties
- eighth → T8
-
Returns the eighth element of this tuple.
final
- fifth → T5
-
Returns the fifth element of this tuple.
final
- first → T1
-
Returns the first element of this tuple.
final
- fourth → T4
-
Returns the fourth element of this tuple.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
iterable
→ Iterable<
Object?> -
An Iterable over the values of this tuple.
no setteroverride
- last → T8
-
Returns the last element of this tuple.
no setter
- length → int
-
The number of elements in the tuple.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- second → T2
-
Returns the second element of this tuple.
final
- seventh → T7
-
Returns the seventh element of this tuple.
final
- sixth → T6
-
Returns the sixth element of this tuple.
final
- third → T3
-
Returns the third element of this tuple.
final
Methods
-
addEighth<
T> (T value) → Tuple9< T1, T2, T3, T4, T5, T6, T7, T, T8> -
Returns a new tuple with
value
added at the eighth position. -
addFifth<
T> (T value) → Tuple9< T1, T2, T3, T4, T, T5, T6, T7, T8> -
Returns a new tuple with
value
added at the fifth position. -
addFirst<
T> (T value) → Tuple9< T, T1, T2, T3, T4, T5, T6, T7, T8> -
Returns a new tuple with
value
added at the first position. -
addFourth<
T> (T value) → Tuple9< T1, T2, T3, T, T4, T5, T6, T7, T8> -
Returns a new tuple with
value
added at the fourth position. -
addLast<
T> (T value) → Tuple9< T1, T2, T3, T4, T5, T6, T7, T8, T> -
Returns a new tuple with
value
added at the last position. -
addNinth<
T> (T value) → Tuple9< T1, T2, T3, T4, T5, T6, T7, T8, T> -
Returns a new tuple with
value
added at the ninth position. -
addSecond<
T> (T value) → Tuple9< T1, T, T2, T3, T4, T5, T6, T7, T8> -
Returns a new tuple with
value
added at the second position. -
addSeventh<
T> (T value) → Tuple9< T1, T2, T3, T4, T5, T6, T, T7, T8> -
Returns a new tuple with
value
added at the seventh position. -
addSixth<
T> (T value) → Tuple9< T1, T2, T3, T4, T5, T, T6, T7, T8> -
Returns a new tuple with
value
added at the sixth position. -
addThird<
T> (T value) → Tuple9< T1, T2, T, T3, T4, T5, T6, T7, T8> -
Returns a new tuple with
value
added at the third position. -
map<
R> (covariant R callback(T1 first, T2 second, T3 third, T4 fourth, T5 fifth, T6 sixth, T7 seventh, T8 eighth)) → R -
Applies the values of this tuple to an n-ary function.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEighth(
) → Tuple7< T1, T2, T3, T4, T5, T6, T7> - Returns a new tuple with the eighth element removed.
-
removeFifth(
) → Tuple7< T1, T2, T3, T4, T6, T7, T8> - Returns a new tuple with the fifth element removed.
-
removeFirst(
) → Tuple7< T2, T3, T4, T5, T6, T7, T8> - Returns a new tuple with the first element removed.
-
removeFourth(
) → Tuple7< T1, T2, T3, T5, T6, T7, T8> - Returns a new tuple with the fourth element removed.
-
removeLast(
) → Tuple7< T1, T2, T3, T4, T5, T6, T7> - Returns a new tuple with the last element removed.
-
removeSecond(
) → Tuple7< T1, T3, T4, T5, T6, T7, T8> - Returns a new tuple with the second element removed.
-
removeSeventh(
) → Tuple7< T1, T2, T3, T4, T5, T6, T8> - Returns a new tuple with the seventh element removed.
-
removeSixth(
) → Tuple7< T1, T2, T3, T4, T5, T7, T8> - Returns a new tuple with the sixth element removed.
-
removeThird(
) → Tuple7< T1, T2, T4, T5, T6, T7, T8> - Returns a new tuple with the third element removed.
-
toList(
{bool growable = false}) → List< Object?> -
A (untyped) List with the values of this tuple.
inherited
-
toSet(
) → Set< Object?> -
A (untyped) Set with the unique values of this tuple.
inherited
-
toString(
) → String -
A string representation of this tuple.
inherited
-
withEighth<
T> (T value) → Tuple8< T1, T2, T3, T4, T5, T6, T7, T> -
Returns a new tuple with the eighth element replaced by
value
. -
withFifth<
T> (T value) → Tuple8< T1, T2, T3, T4, T, T6, T7, T8> -
Returns a new tuple with the fifth element replaced by
value
. -
withFirst<
T> (T value) → Tuple8< T, T2, T3, T4, T5, T6, T7, T8> -
Returns a new tuple with the first element replaced by
value
. -
withFourth<
T> (T value) → Tuple8< T1, T2, T3, T, T5, T6, T7, T8> -
Returns a new tuple with the fourth element replaced by
value
. -
withLast<
T> (T value) → Tuple8< T1, T2, T3, T4, T5, T6, T7, T> -
Returns a new tuple with the last element replaced by
value
. -
withSecond<
T> (T value) → Tuple8< T1, T, T3, T4, T5, T6, T7, T8> -
Returns a new tuple with the second element replaced by
value
. -
withSeventh<
T> (T value) → Tuple8< T1, T2, T3, T4, T5, T6, T, T8> -
Returns a new tuple with the seventh element replaced by
value
. -
withSixth<
T> (T value) → Tuple8< T1, T2, T3, T4, T5, T, T7, T8> -
Returns a new tuple with the sixth element replaced by
value
. -
withThird<
T> (T value) → Tuple8< T1, T2, T, T4, T5, T6, T7, T8> -
Returns a new tuple with the third element replaced by
value
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override