Pair<T> class
Constructors
- Pair(T a, T b)
-
Pair.fromList(List<
T> list)
Properties
- a → T
-
final
- aAsString → String
-
Returns a as String.
no setter
- aNotNull → bool
-
Returns
true
if a not null.no setter -
asList
→ List<
T> -
Returns as a List with
a,b
.no setter -
asMapEntry
→ MapEntry<
T, T> -
Returns as a MapEntry.
no setter
-
asPoint
→ Point<
num> -
Returns a Point with a as dart_math.Point.x and b as dart_math.Point.y.
no setter
- b → T
-
final
- bAsString → String
-
Returns b as String.
no setter
- bNotNull → bool
-
Returns
true
if b not null.no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override