Future<dynamic> getItem(String key) async { var data = (await _getPrefs()).get(key); return data == null ? null : _data2Obj(data); }