toDebugString method

  1. @override
String toDebugString()
override

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(2, '0');
  return '$Card <${cardSet.abbreviation}T$orderInSet: $name>}';
}