Tuple4<T1, T2, T3, T4> class

Represents a 4-tuple

Constructors

Tuple4(T1 item1, T2 item2, T3 item3, T4 item4)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
item1 → T1
final
item2 → T2
final
item3 → T3
final
item4 → T4
final
iterable Iterable
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply<R>(R f(T1, T2, T3, T4)) → R
apply a function f over tuple fields
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList({bool growable = false}) List
toString() String
A string representation of this object.
override
withItem1<E>(E newItem) Tuple4<E, T2, T3, T4>
Returns a tuple with the item1 set to the specified value.
withItem2<E>(E newItem) Tuple4<T1, E, T3, T4>
Returns a tuple with the item2 set to the specified value.
withItem3<E>(E newItem) Tuple4<T1, T2, E, T4>
Returns a tuple with the item3 set to the specified value.
withItem4<E>(E newItem) Tuple4<T1, T2, T3, E>
Returns a tuple with the item4 set to the specified value.

Operators

operator ==(Object other) bool
The equality operator.
override