toDebugString method

String toDebugString()

Returns a String representation of this message.

This generates the same output as toString, but can be used by mixins to compose debug strings with additional information.

Implementation

String toDebugString() {
  final out = StringBuffer();
  _fieldSet.writeString(out, '');
  return out.toString();
}