refreshData method

Future<HttpData<List<T>>> refreshData()
override

获取数据

Implementation

Future<HttpData<List<T>>> refreshData(){
  return requestList<List<T>, T>((httpData, requestInfo){
    list = httpData.data;
    onCompleted(list);
    setIdle();
    return httpData;
  });
}