listString property
Converts the string into a list of strings, assuming it is a stringified list.
Example: "[a, b, c]" → ["a", "b", "c"]
Implementation
List<String> get listString {
final str = this;
if (str.isBlank) return [];
return str
.substring(1, str.length - 1)
.split(',')
.map((e) => e.replaceAll("\"", "").trim())
.toList();
}