utils_app_localizationAppLocalizations constructortranslate methodOn this pagetranslate method String? translate (String? key) Implementation String? translate(String? key) { if (isTest) return key; // ignore: unnecessary_null_comparison if (key == null) { return '...'; } return _localizedStrings[key];}