Cretezy / redux_persist

Persist Redux State
https://pub.dartlang.org/packages/redux_persist
MIT License
130 stars 41 forks source link

replace/rename toJson to something else #78

Closed chirastefan closed 1 year ago

chirastefan commented 1 year ago

Is there a way to replace or rename this method? Context: I'm using https://pub.dev/packages/dart_mappable which generates toJson(returns String) and toMap(returns Map<String,dynamic>) on a decorated class. What I need from that class is toMap which is what redux-persist expects.