getObjList<T> static method
get obj list.
Implementation
static List<T>? getObjList<T>(String key, T f(Map v),
{List<T>? defValue = const []}) {
List<Map>? dataList = getObjectList(key);
List<T>? list = dataList?.map((value) {
return f(value);
}).toList();
return list ?? defValue;
}