Is there a way to disable a linting rule for a line in flutter?
I have a specific use case where I want to disable linting for two lines. I have a lot of business logic already written so I cannot change the code.
abstract class ReviewName {
static final NEW = 'NEW';
static final OLD = 'OLD';
}
The above code will have linting errors: Name non-constant identifiers using lowerCamelCase.dart(non_constant_identifier_names)
Is there any way I avoid the lint error for only the two lines?