redux_persist_encoder pub package

This is fork of redux_persist that adds support for an encoder, because the original package lacks it. I don't plan on further support for it.

Usage:

// Create Persistor
final persistor = Persistor<AppState>(
  storage: FlutterStorage("my-app"), // Or use other engines
  decoder: /* *something* */,
  encoder: (data) {
    return serializers.serializeWith(AppState.serializer, data)
  }
);

Libraries

redux_persist