checkFromAds method

dynamic checkFromAds(
  1. String title,
  2. String screen
)

Implementation

checkFromAds(
    String title,
    String screen,
    ) {
  Preferences.getFromWhere().then((valueFrom) {
    if (valueFrom != '') {
      if (Platform.isIOS) {
        Helper().pushSetAnalytic("ios${valueFrom}$title", screen, "Click");
      } else {
        Helper()
            .pushSetAnalytic("android${valueFrom}$title", screen, "Click");
      }
    }
  });
}