You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a pretty large JSON file with a few 1000 entries.
Quicktype on the web at least can convert that into a Dart type with freezed.
Good stuff.
However is it possible to have static entries, as a List, returned?
So I don't have to parse the JSON every time, but have the data already inside the native form?
The JSON file will never change, so parsing it every time doesn't make sense.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a pretty large JSON file with a few 1000 entries.
Quicktype on the web at least can convert that into a Dart type with freezed.
Good stuff.
However is it possible to have static entries, as a List, returned?
So I don't have to parse the JSON every time, but have the data already inside the native form?
The JSON file will never change, so parsing it every time doesn't make sense.
Beta Was this translation helpful? Give feedback.
All reactions