Future<void> writeObject(String key, dynamic value) async { SharedPreferences mStorage = await getStorage(); mStorage.setString(key, value); }