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.
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) andtoMap
(returns Map<String,dynamic>) on a decorated class. What I need from that class is toMap which is what redux-persist expects.