getPermission method
Implementation
String getPermission() {
if (_box == null || !_inited) {
console("getPermission _box is null or _inited is false");
return "";
}
if (!_box!.isOpen) {
console("box is not open");
return "";
}
String hiveKey = TencentCloudChatCacheKey.permission.name;
String originData = _box!.get(hiveKey, defaultValue: "");
return originData;
}