executeAction static method

void executeAction({
  1. String? type,
  2. String? link,
})

Implementation

static void executeAction({String? type, String? link}) {
  switch (type) {
    case "":
      break;
    case "deep":
      if (InngageInApp.blockDeepLink) {
        InngageInApp.deepLinkCallback(link);
      } else {
        _deep(link!);
      }
      break;
    case "inapp":
      _web(link!);
      break;
  }
}