stringToIterableDouble function Null safety

Iterable<double> stringToIterableDouble(
  1. String value
)

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

Example:

String array = '[1.1, 2.1]'
List<double> list = stringToIterableDouble(array).toList();

Implementation

Iterable<double> stringToIterableDouble(final String value) =>
    stringToIterable(value, (e) => double.parse(e));