currentPlatformName_CN property
Implementation
static final String currentPlatformName_CN = () {
if (MyPlatform_c.isWeb) {
return "Web";
} else if (MyPlatform_c.isAndroid) {
return "安卓";
} else if (MyPlatform_c.isIOS) {
return "IPhone";
} else if (MyPlatform_c.isWindows) {
return "Windows";
} else if (MyPlatform_c.isLinux) {
return "Linux";
} else if (MyPlatform_c.isMacOS) {
return "Mac";
} else {
// 错误
return "";
}
}();