toString abstract method

  1. @override
String toString()
override

Returns a string representation. Ace of spade is "As", 10 of heart is "Th" and deuce of diamond is "2d".

Implementation

@override
String toString();