open static method
opens shared_preferences and initializes the storage; also deletes expired keys before returning
Implementation
static Future<LegacyJsonSharedPreferencesStorage> open() async {
final sharedPreferences = await SharedPreferences.getInstance();
final instance = LegacyJsonSharedPreferencesStorage._(sharedPreferences);
return instance;
}