# toString method

1. @override

String toString ({DiagnosticLevel minLevel: DiagnosticLevel.debug })
inherited

Returns a string representation of this object.

## Implementation

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