Pile class

A pile of cards

Constructors

Pile({required List<Card> cards, required int value, required Mark mark, required bool owner})
const
Pile.fromAddress(int ptr, {bool pair = false})
factory

Properties

cards → List<Card>
final
hashCode → int
The hash code for this object.
no setteroverride
mark → Mark
final
owner → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
final

Methods

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

Operators

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