fetchList method

Future<List<T>?> fetchList({
  1. bool isCached = true,
})

根据 responder 自动解析成对应的 list model 并返回

Implementation

Future<List<T>?> fetchList({bool isCached = true}) async {
  return request(isCached: isCached).then((value) => value.dataList);
}