getErrorTranslatedText static method
Implementation
static String getErrorTranslatedText(BuildContext context, String errorCode) {
if (errorCode == internetNotAvailable) {
return Translations.of(context).errorInternetUnavailable;
} else {}
return Translations.of(context).somethingWentWrongError;
}