read json in dart and make a list code example
Example: dart list to json
import 'dart:convert';
main() {
List<String> tags = ['tagA', 'tagB', 'tagC'];
String jsonTags = jsonEncode(tags);
print(jsonTags); // ["tagA","tagB","tagC"]
}
import 'dart:convert';
main() {
List<String> tags = ['tagA', 'tagB', 'tagC'];
String jsonTags = jsonEncode(tags);
print(jsonTags); // ["tagA","tagB","tagC"]
}