getHistoryOrderList static method

Future<AWResponseModel<List<AWOrder>>?> getHistoryOrderList(
  1. AwPlatformType type
)

获取历史订单列表

Implementation

static Future<AWResponseModel<List<AWOrder>>?> getHistoryOrderList(
    AwPlatformType type) async {
  if (type == AwPlatformType.android) {
    return getAndroidHistoryOrderList();
  }
  //ios
  if (type == AwPlatformType.ios) {
    return getIosHistoryOrderList();
  }
}