public_member_api_docs: constructors on sealed classes are not really public #59210
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-false-positive
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Similar to #57361 (/cc @yjbanov).
Here is a more recent (2023-era) problem, constructors that are not really public.
Consider:
The
Fruit()
constructor appears public (i.e. it does not start with_
), but in Dart 3+, it is functionally private (that is, it's only accessible in the same library, similar to methods declared with_
).The text was updated successfully, but these errors were encountered: