stringToIterableString function Null safety

Iterable<String> stringToIterableString(
  1. String value
)

Generates an Iterable of String from a String with a json array structure

Example:

String array = '["string1", "string2"]'
List<String> list = stringToIterableString(array).toList();

Implementation

Iterable<String> stringToIterableString(final String value) =>
    stringToIterable(value, (e) => e.toString());