isEnabled method
Checks whether this lint rule is enabled in a configuration file.
If a lint is neither enabled nor disabled by a configuration file, enabledByDefault will be checked.
Implementation
@override
bool isEnabled(CustomLintConfigs configs) {
return _checkers.isNotEmpty;
}