DebangAssertionTooShortRule constructor

DebangAssertionTooShortRule({
  1. required int minLength,
  2. required DiagnosticSeverity severity,
})

Creates a new instance with the specified minLength and severity.

Implementation

DebangAssertionTooShortRule({
  required this.minLength,
  required this.severity,
}) : super(
        name: ruleName,
        description: _description,
      );