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