toList<T> static method

List<T> toList<T>(
  1. String value,
  2. T f(
    1. Map<String, dynamic> map
    )
)

Implementation

static List<T> toList<T>(String value, T f(Map<String, dynamic> map)) =>
    (formatJson(value) as List).map((e) => f(e)).toList();