setStore method
设置缓存
Implementation
Future<dynamic> setStore(String key, dynamic value) async {
if (_store == null) {
_store = await CloudBaseStore().init();
}
if (key == this.loginTypeKey) {
value = (value as CloudBaseAuthType).index;
}
return _store!.set(key, value);
}