jsonList<T> static method
Implementation
static List<T> jsonList<T>(dynamic json, T Function(dynamic) fromJson) =>
json != null
? json is List
? json.map((e) => fromJson(e)).toList()
: [fromJson(json)]
: <T>[];