Hand class

Implementers

Constructors

Hand.new(List cards, String name, Game game, bool? canDisqualify)

Properties

alwaysQualifies bool
getter/setter pair
cardPool List<Card>
getter/setter pair
cards List<Card>
getter/setter pair
descr String?
getter/setter pair
game Game
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isPossible bool
getter/setter pair
name String
getter/setter pair
rank int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sfLength int
getter/setter pair
suits Map<String, List<Card>>
getter/setter pair
values List<List<Card>>
getter/setter pair
wilds List<Card>
getter/setter pair

Methods

compare(Hand a) int
getCardsForFlush(String suit, bool setRanks) List<Card>
getNumCardsByRank(int val) int
loseTo(Hand hand) bool
nextHighest() List<Card>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
qualifiesHigh() bool
resetWildCards() → void
solve() bool
toArray() List<String>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

solveHand(List? cards, [Game? game, bool canDisqualify = true]) Hand
solveHandType(Type type, dynamic cards, dynamic game, dynamic canDisqualify) Hand
stripWilds(List<Card> cards, Game game) List<List<Card>>
winners(List<Hand> hands) List<Hand>