init method
Implementation
Future<bool> init(String name) async {
if (_inited) {
console("global box has inited");
return true;
}
await Hive.initFlutter();
String md5 = TencentCloudChatUtils.getMd5ByString(name);
_box = await Hive.openBox("TCCFGLOBAL-$md5");
console("global box path is ${_box!.path}");
_inited = true;
return true;
}