Tuple class abstract

Abstract tuple class.

Implementers
Annotations
  • @immutable

Constructors

Tuple()
Const constructor.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
iterable Iterable<Object?>
An Iterable over the values of this tuple.
no setter
length int
The number of elements in the tuple.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<R>(covariant Function callback) → R
Applies the values of this tuple to an n-ary function.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList({bool growable = false}) List<Object?>
A (untyped) List with the values of this tuple.
toSet() Set<Object?>
A (untyped) Set with the unique values of this tuple.
toString() String
A string representation of this tuple.
override

Operators

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

Static Methods

fromList<T>(List<T> list) Tuple
List constructor.