Closed DenisBogatirov closed 11 months ago
Rule avoid-unused-parameters does not check constructor and factory for parameters usage. This originates from DCM.
avoid-unused-parameters
Expected behavior: to check constructor and factory params in the same way as with methods and functions.
Possible solution to implement visitConstructorDeclaration in avoid_unused_parameters_visitor.dart
visitConstructorDeclaration
avoid_unused_parameters_visitor.dart
Rule
avoid-unused-parameters
does not check constructor and factory for parameters usage. This originates from DCM.Expected behavior: to check constructor and factory params in the same way as with methods and functions.
Possible solution to implement
visitConstructorDeclaration
inavoid_unused_parameters_visitor.dart