Open KalilDev opened 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()
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.
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.