getOrderList static method

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

获取有效订单列表

Implementation

static Future<AWResponseModel<List<AWOrder>>?> getOrderList(
    AwPlatformType type) async {
  if (type == AwPlatformType.android) {
    return getAndroidOrderList();
  }
  if (type == AwPlatformType.ios) {
    return getIosOrderList();
  }
}