Tuple5<T1, T2, T3, T4, T5> class
Represents a 5-tuple, or quintuple.
Constructors
- Tuple5(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5)
-
Creates a new tuple value with the specified items.
const
- Tuple5.fromList(List items)
-
Create a new tuple value with the specified list
items
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- item1 → T1
-
Returns the first item of the tuple
final
- item2 → T2
-
Returns the second item of the tuple
final
- item3 → T3
-
Returns the third item of the tuple
final
- item4 → T4
-
Returns the fourth item of the tuple
final
- item5 → T5
-
Returns the fifth item of the tuple
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toList(
{bool growable = false}) → List - Creates a List containing the items of this Tuple5.
-
toString(
) → String -
A string representation of this object.
override
-
withItem1(
T1 v) → Tuple5< T1, T2, T3, T4, T5> - Returns a tuple with the first item set to the specified value.
-
withItem2(
T2 v) → Tuple5< T1, T2, T3, T4, T5> - Returns a tuple with the second item set to the specified value.
-
withItem3(
T3 v) → Tuple5< T1, T2, T3, T4, T5> - Returns a tuple with the third item set to the specified value.
-
withItem4(
T4 v) → Tuple5< T1, T2, T3, T4, T5> - Returns a tuple with the fourth item set to the specified value.
-
withItem5(
T5 v) → Tuple5< T1, T2, T3, T4, T5> - Returns a tuple with the fifth item set to the specified value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override