toDebugString method

  1. @override
String toDebugString()

Returns a string representation of this object, suitable for debugging.

The returned string may contain newlines.

Implementation

@override
String toDebugString() {
  // ignore: noop_primitive_operations
  return ''
      'Area <resources: $totalResources, '
      'base: $base, '
      'leader: $leader, '
      '${hand.length} hand, '
      '${deck.length} deck, '
      '${discard.length} discard, '
      '${arena.length} in play>';
}