getErrorMsg static method
dynamic
getErrorMsg(
{ - String language = "zh",
})
Implementation
static getErrorMsg({String language = "zh"}) {
switch (language) {
case "zh":
case "zh_CN":
textDelegate = const VFBaseTextDelegate();
break;
case "ja":
textDelegate = const VFJapaneseTextDelegate();
break;
case "fr":
textDelegate = const VFFrenchTextDelegate();
break;
case "ko":
textDelegate = const VFKoreanTextDelegate();
break;
case "id":
textDelegate = const VFIdTextDelegate();
break;
default:
textDelegate = const VFEnglishTextDelegate();
break;
}
}