diagnosticLength property

int? get diagnosticLength
inherited

The length of the source range associated with the diagnostic being fixed, or null if there is no diagnostic.

Implementation

int? get diagnosticLength => diagnostic?.problemMessage.length;