dart_mappable
dart_mappable copied to clipboard
Enum fromJson
Hello out there!
I am wondering, no generated Enum class include a static fromJson method? Why not? How to migrate e.G. from freezed? Do I have to manually write those for every Enum? What if those Enum classes are generated as well, e.G. from a swagger api? That would mean, I have to edit a generated file and that's a just simple: No-GO! In the docs is absolutely nothing mentioned! I am somewhat dissatisfied with this kind of approach!
@schultek