toString method

  1. @override
String toString()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  final buffer = StringBuffer();
  if (data.isNotEmpty) buffer..writeAll(data, "\n")..writeln();
  buffer..writeln("${Token.branchesFound}:$found")..write("${Token.branchesHit}:$hit");
  return buffer.toString();
}