toLint method
Implementation
Lint toLint(String key, LintLocation location,
{LintSeverity severity = LintSeverity.error}) {
return Lint(
code: key,
message: lintMessage(key),
severity: severity,
location: location,
);
}
Lint toLint(String key, LintLocation location,
{LintSeverity severity = LintSeverity.error}) {
return Lint(
code: key,
message: lintMessage(key),
severity: severity,
location: location,
);
}