LintRule constructor
const
LintRule({
- required LintCode code,
A base class for defining quick-fixes for a LintRule
For creating assists inside Dart files, see DartFix. Suclassing Fix can be helpful if you wish to implement assists for non-Dart files (yaml, json, ...)
For usage information, see https://github.com/invertase/dart_custom_lint/blob/main/docs/fixes.md
Implementation
const LintRule({required this.code});