plural property
Full English plural name, not really needed but for consistency
Implementation
String get plural {
assert(index >= Suit.Club.index && index <= Suit.Spade.index);
return ["clubs", "diamonds", "hearts", "spades"][index - 1];
}
Full English plural name, not really needed but for consistency
String get plural {
assert(index >= Suit.Club.index && index <= Suit.Spade.index);
return ["clubs", "diamonds", "hearts", "spades"][index - 1];
}