How to read a json file?
void loadAsset() { rootBundle.loadString('assets/data.json').then((string) => print(string)); }
void loadAsset() { rootBundle.loadString('assets/data.json').then((string) => print(string)); }
Copyright © 2024 | WordPress Theme by MH Themes
Leave a Reply