Open
Description
There are situations when doc comments are not useful in a constructor:
The following is common in classes used as annotations:
/// Docs.
class Foo {
/// Not much to say here but public_member_api_docs insists.
Foo();
}
Even when the constructor has parameters, if the parameters assign to public fields that are documented, there isn't much to say in the constructor:
/// Docs.
class Foo {
/// Not much to say here but public_member_api_docs insists
Foo(this.bar, this.baz);
/// Docs.
final bar;
/// Docs.
final baz;
}
Metadata
Metadata
Assignees
Labels
A lower priority bug or feature requestFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.Issues with the analyzer's support for the linter packageIssues related to lint rules that report a problem when it isn't a problem.A request for a change that isn't a bug