Tuple3<T1, T2, T3> class

Constructors

Tuple3(T1 first, T2 second, T3 third)
Creates a new tuple value with the specified items.
const
Tuple3.fromList(List items)
Create a new tuple value with the specified list items.
factory

Properties

first → T1
Returns the first item of the tuple
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second → T2
Returns the second item of the tuple
final
third → T3
Returns the second item of the tuple
final

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 Tuple3.
toString() String
A string representation of this object.
override
withItem1(T1 v) Tuple3<T1, T2, T3>
Returns a tuple with the first item set to the specified value.
withItem2(T2 v) Tuple3<T1, T2, T3>
Returns a tuple with the second item set to the specified value.
withItem3(T3 v) Tuple3<T1, T2, T3>
Returns a tuple with the third item set to the specified value.

Operators

operator ==(Object other) bool
The equality operator.
override
operator [](int i) Object?
Operator access