convertList<T, S> function

List<T>? convertList<T, S>(
  1. Iterable? json,
  2. T parse(
    1. S element
    )
)

Parses the given list into a list of PODOs (plain-old-dart-object). It returns null if json is null.

Implementation

List<T>? convertList<T, S>(Iterable? json, T parse(S element))
=> json != null ? convertListNS(json, parse): null;