toDebugString method
Returns a string representation of this object, suitable for debugging.
The returned string may contain newlines.
Implementation
@override
String toDebugString() {
final orderInSet = this.orderInSet.toString().padLeft(3, '0');
return '$Card <${cardSet.abbreviation}$orderInSet: $name>';
}