reportLint method

void reportLint(
  1. SyntacticEntity entity, {
  2. required String message,
  3. String? correction,
})
inherited

Implementation

void reportLint(
  SyntacticEntity entity, {
  required String message,
  String? correction,
}) =>
    _reportSpan(entity.toSourceSpan(_unit), message, correction: correction);