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