Tuple4<T1, T2, T3, T4> class
A tuple of 4 elements.
Constructors
- Tuple4(T1 item1, T2 item2, T3 item3, T4 item4)
- Creates a Tuple4 grouping the four values dynamically.
- Tuple4.fromRecord((T1, T2, T3, T4) record)
- Creates a Tuple4 from a modern Dart 3 Record.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- item1 ↔ T1
-
The first element of the tuple.
getter/setter pair
- item2 ↔ T2
-
The second element of the tuple.
getter/setter pair
- item3 ↔ T3
-
The third element of the tuple.
getter/setter pair
- item4 ↔ T4
-
The fourth element of the tuple.
getter/setter pair
- record → (T1, T2, T3, T4)
-
Returns the tuple as a modern Dart 3 Record.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clone(
) → Tuple4< T1, T2, T3, T4> - Creates a shallow clone.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toList(
) → List - Returns the elements as a standard Dart List.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override