historyMatchList static method

Future<DataResult> historyMatchList(
  1. int page
)

获取match列表

Implementation

static Future<DataResult> historyMatchList(int page) async {
  Map other = {'pageIndex': page};
  var res = await BaseDao.fromBaseEncrypt(other, Address.historyMatchList());
  if (res.result) {
    var entity = HistoryMatchEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}