I need to load a PHP response which is an array (with JSON format) to a Flutter List. How to code it in Flutter? Should I use dart convert?
This is my PHP response:
[
"Butter",
"Cheese / Keju",
"Cream",
"Fresh Juice",
"Frozen Food Beef",
"Frozen Food Chicken",
"Frozen Food Pork",
"Frozen Food Potatoes",
"Frozen Food Vegetables",
"Jam & Spread",
"Mayonais",
"Salad Dressing",
"Sereal & Muesli",
"Snack & Biscuit",
"Sour Cream",
"Soya Milk",
"Whipping Cream",
"Yogurt",
"Yogurt Drink"
]
Super simple. Just use the base
json
library.