获取缓存数据,返回dynamic类型
static dynamic getDynamic(String key, {Object? defValue}) { return _prefs?.get(key) ?? defValue; }