toText method
Render to two-character text in standard format
Implementation
String toText() {
assert(isCard);
if (Card.WhiteJoker.index == index) return "Jw";
if (Card.BlackJoker.index == index) return "Jb";
if (Card.Joker.index == index) return "Jk";
return "${rank!.toChar()}${suit!.toChar()}";
}