Tuple class

A class to represent two-dimensional or n-dimensional tuples.

Constructors

Tuple()

Properties

data List
This field holds the actual data of the tuple.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(List yourData) → void
This method adds data to the tuple and populates the data field.
dimN(int dimension) List
This method returns the nth dimension of a tuple.
dimOne() List
This method returns a dynamic list of the tuple's first dimension.
dimTwo() List
This method returns a dynamic list of the tuple's second dimension.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map
This method tries to convert a two-dimnensional tuple into a {key:value} pair.
toString() String
A string representation of this object.
inherited

Operators

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