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

Returns a string representation of this object.

Source

@override
String toString({ DiagnosticLevel minLevel: DiagnosticLevel.debug }) {
  return toDiagnosticsNode(style: DiagnosticsTreeStyle.singleLine).toString(minLevel: minLevel);
}