toString method

  1. @override
String toString()
override

Returns a string representation of all the contents appended to this printer, including source map location tokens.

Implementation

@override
String toString() {
  _flush();
  return (StringBuffer()..writeAll(_items)).toString();
}