Tuple0 class
Tuple with 0 elements.
Constructors
- Tuple0()
-
Const constructor.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
iterable
→ Iterable<
Object?> -
An Iterable over the values of this tuple.
no setteroverride
- length → int
-
The number of elements in the tuple.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addFirst<
T> (T value) → Tuple1< T> -
Returns a new tuple with
value
added at the first position. -
addLast<
T> (T value) → Tuple1< T> -
Returns a new tuple with
value
added at the last position. -
map<
R> (covariant R callback()) → R -
Applies the values of this tuple to an n-ary function.
override
-
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.
inherited
-
toSet(
) → Set< Object?> -
A (untyped) Set with the unique values of this tuple.
inherited
-
toString(
) → String -
A string representation of this tuple.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override