Kevin Moore
Kevin Moore
> Just do it! Yes please!!!
@leafpetersen @munificent @lrhn – should this be in the language repo?
@leafpetersen @munificent @lrhn – should be moved to the language repo?
> I'm curious if the web platform APIs could provide use cases and example problems which we could add to this request? Web APIs are littered with these. Search for...
CC @liamappelbe
Ugh...
`IQuestion` needs a `fromJson` on it. That's it. Subclasses are hard.
Are you using something besides json_serializable? pkg:freezed or similar? On Sun, Oct 31, 2021 at 4:39 PM Victor Blaess ***@***.***> wrote: > @kevmoo when i try to run the code...
Use https://pub.dev/documentation/json_annotation/latest/json_annotation/JsonKey/readValue.html – this is a general solution for this case.
Or `Map` for that matter.