Skip to content

Use interpolation to compose strings and values

Using the recommended linter rules, the generated sources got a lot of warnings:

Use interpolation to compose strings and values. (prefer_interpolation_to_compose_strings)

on the following snippet:

: prefix = fieldName + '.';

Hence the suggested change in map_map_generator.dart.

PS: had to add a lot of dependency overrides in order to generate the sources again. Once again, I'm building further upon my previous merge requests, because this is also an issue that only occurs once you upgrade the analyzer (and linter) dependency.

Merge request reports