toString method

  1. @override
String toString (
  1. {DiagnosticLevel minLevel: DiagnosticLevel.info}
)
inherited

Returns a string representation of this object.

Implementation

@override
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
  String? fullString;
  assert(() {
    fullString = toDiagnosticsNode(style: DiagnosticsTreeStyle.singleLine).toString(minLevel: minLevel);
    return true;
  }());
  return fullString ?? toStringShort();
}