Tuple1<T1> class

Represents a 1-tuple

Constructors

Tuple1(T1 item1)
const

Properties

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

Methods

apply<R>(R f(T1)) → 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) → Tuple1<E>
Returns a tuple with the item1 set to the specified value.

Operators

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