hasDiagnostics property

bool get hasDiagnostics

Whether there are any diagnostics

Implementation

bool get hasDiagnostics => diagnostics.isNotEmpty;