Is there any AutoMapper package for a flutter (like in c#)?
Example:
we are mapping the Entity to EntityModel.
mapper = Mapper();
Entity = Entity();
EntityModel = mapper(Entity );
Late to the party, but after a long time using all kinds of mapping packages, which were buggy, had a limited set of features, and were mostly months/years unmaintained and without any response, etc., we created the AutoMappr package that might suit your needs. It does not use reflection/mirrors but rather code generation, so the code is faster, and you can easily debug it.
Try it out and let us know on GitHub or Discord what you think. 🙌 It already has many built-in features, and more can be added on top of it.