andrea689 / flutter_bloc_devtools

Remote DevTools for flutter_bloc. This package connects all Bloc (not working with Cubit) to the Remote Devtools Server, allowing the developer to inspect changes to the Blocs during runtime.
MIT License
66 stars 15 forks source link

[WIP] No mappable #4

Open KalilDev opened 3 years ago

KalilDev commented 3 years ago

Simplified the logic a bit, got rid of Mappable, implemented the toJson replacement and migrated the example packages. I've yet to add tests, and i want to know what you think.

andrea689 commented 3 years ago

Good job @KalilDev, thank you for contribution!!

I think we need to add _maybeToMap as well, for backwards compatibility and because who use quicktype it generate Map<String, dynamic> toMap() and not Map<String, dynamic> toJson()

KalilDev commented 3 years ago

Alright, totally agree! Im sorry, i was a bit busy this week and could not do it. Im going on a trip and when i come back, in the 28th, i will continue the work.