Closed droundy closed 6 years ago
There's currently no option to use dartson with flutter, because dartson relies on pub transformers in order to provide a static (no mirrors) way. Take a look at built_value and it's serialization implementation.
Will be taken in account for #48 . Just out of interest what was your solution / package for your project?
I'm new to dart and new to flutter, but I know that flutter doesn't work with mirrors, and that dartson doesn't require mirrors. However, I don't know how to use dartson with flutter. I get the following errors:
I expect that this is simple to manage, but am not sure how to tell flutter that I want the non-mirrors version of dartson.
Thanks!