track static method

void track({
  1. required AdMatchingRequest request,
})

上报

Implementation

static void track({required AdMatchingRequest request}) async {
  try {
    if (AppStorage.token.isEmpty) {
      await Launch.fetch();
    }
    await Network.shared.request((api) => api.adMatch(request));
  } catch (error) {
    Logger.debug(error.toString());
  }
}