toList method

List<T> toList(
  1. dynamic json
)

Implementation

List<T> toList(dynamic json) {
  List<T> results = json.map((item) => toObject(item)).toList();
  return results;
}