I have this String
.
var String a = '["one", "two", "three", "four"]';
var ab = (a.split(','));
print(ab[0]); // return ["one"
I want to convert this to List<String>
.
The problem is it returns square bracket too. I want to List looks this ["one", "two", "three", "four"]
not [["one", "two", "three", "four"]]
.
How can I convert this properly?