Dart Analyze

Dart Analyze

Community Analyzer

Avoid types as parameter names DRT-W1008

Bug risk
Major

AVOID using a parameter name that is the same as an existing type.

BAD:

m(f(int));

GOOD:

m(f(int v));