linter icon indicating copy to clipboard operation
linter copied to clipboard

`public_member_api_docs` ignores constructors in abstract interface classes

Open Pante opened this issue 1 year ago • 2 comments

Describe the issue public_member_api_docs does not flag constructors in abstract interface classes that are undocumented.

To Reproduce

abstract interface class Foo {
  factory Foo.a() = Bar;
  
  factory Foo.b() => Bar();

  Foo();
}

class Bar extends Foo {}

Expected behavior The constructors should be flagged as undocumented, similar to how they are flagged in abstract & interface classes.

Pante avatar Jul 30 '24 06:07 Pante