avoid-missing-interpolation
Warns when a string is equal to a variable name that is available in the current scope but is not wrapped into an interpolation.
⚙️ Config
Set ignore-non-string-types
(default is true
) to ignore variables with non-string type.
dart_code_metrics:
...
rules:
...
- avoid-missing-interpolation:
ignore-non-string-types: true