toString method

  1. @override
String toString()
override

Returns a string representation of this artifact.

The string includes information about the matched character, position, dimensions, emptiness status, enclosures, and vertical line detection.

Returns a formatted string with artifact details.

Implementation

@override
String toString() {
  return '"$matchingCharacter" left:${locationFound.x} top:${locationFound.y} CW:${rectFound.width} CH:${rectFound.height} isEmpty:$isEmpty E:$enclosures LL:$verticalLineLeft LR:$verticalLineRight';
}