Number of Imports
The number of imports in a file. Too many imports indicate a high complexity or entities that are responsible for too many things.
A recommended NOI is 10 or less.
Config example
dart_code_metrics:
...
metrics:
...
number-of-imports: 10
...