$<T, S> class
represent a pair of values of type T and S
// create tuple
final tpl = $(1,'a');
- Available extensions
Constructors
- $(T $0, S $1)
-
const
Properties
Methods
-
bimap<
P, Q> (P f(T), Q g(S)) → $< P, Q> - apply function f on left value and g on right value and return tuple.
-
mapN<
P> (P f(T, S)) → P -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
swap(
) → $< S, T> - returns new tuple swapping left one with right one.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override