Closed diegoveloper closed 3 years ago
When we didn't setup the method channels and mock method handler in Test the tests failing because there is no validation on _translations.
_translations
var translation = _getTranslation(key, _translations);
in that scenario _translations is null and will crash when try to check the key :
map.containsKey(firstKey)
any news about this ? @bratan
@diegoveloper you can achieve it with Localization.load(<String,dynamic>{});
When we didn't setup the method channels and mock method handler in Test the tests failing because there is no validation on
_translations
.in that scenario
_translations
is null and will crash when try to check the key :