redux_persist_encoder 0.7.0-rc.5
redux_persist_encoder: ^0.7.0-rc.5 copied to clipboard


Persist Redux State

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)