Saltar al contenido principal

Number of Methods

The number of methods is the total number of methods in a class (or mixin, or extension). Too many methods indicate a high complexity.

Config example

dart_code_linter:
...
metrics:
...
number-of-methods: 10
...