value method
endregion
key
语言关键信息key
Implementation
/// [key] 语言关键信息key
String value(String key) {
if (key.isEmptyString) {
return "";
}
var text = _textMap.getValue<String>(key);
if (text.isNotEmptyString) {
return text ?? "";
}
text = _getLangkeyTexts(key);
if (text.isNotEmptyString) {
return text;
}
var data = _getTextFromData(key);
return data;
}