Open busslina opened 3 months ago
Seems that putting the top level fromJson
function in the same file resolve it. So now it works, but why? I'm not using lib prefixes.
Demo video: https://mega.nz/file/FHZ1hAaA#rzsGJsyePyDpDr-okfCF9QRQ_GCIF1zSWvW2bPtPK90
My code:
Generated:
Any solution?
UPDATE:
JsonConverter
is not a solution because in many cases I need to specify theJsonKey.name
too.