HandRange class

An immutable set of CardPairs that expresses a player hand range.

Annotations
  • @immutable

Constructors

HandRange.empty()
Created an empty HandRange.
const
HandRange.fromCardPairs(Iterable<CardPair> cardPairs)
Creates a HandRange from an iterable of CardPair.
factory
HandRange.fromRankPairs(Iterable<RankPair> rankPairs)
Creates a HandRange from an iterable of RankPair.
factory
HandRange.parse(String value)
Creates a HandRange from a String.
factory

Properties

cardPairs Iterable<CardPair>
no setter
hashCode int
The hash code for this object.
no setterinherited
rankPairs Iterable<RankPair>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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