This is due to the fact that the get generate locales command ads a _ (underscore) between different levels of texts in the JSON file containing the assets.
Right now there is just one solution and is to ignore the error in the file, but it is worth considering an alternative naming structure
We have just implemented linter rules and the file locales.g.dart is full of Prefer using lowerCamelCase for constant names, pointing to https://dart-lang.github.io/linter/lints/constant_identifier_names.html.
This is due to the fact that the get generate locales command ads a _ (underscore) between different levels of texts in the JSON file containing the assets.
Right now there is just one solution and is to ignore the error in the file, but it is worth considering an alternative naming structure