didOfferwallRemoved static method

bool didOfferwallRemoved(
  1. MethodCall methodCall
)

Implementation

static bool didOfferwallRemoved(MethodCall methodCall){
  switch (methodCall.method) {
    // android rwd event
    case "tnkAnalytics":
      Map<String, dynamic> JSonObj = jsonDecode(methodCall.arguments);
      // finish event
      if (JSonObj["event"] == TnkRwdAnalyticsEvent.ACTIVITY_FINISH) {
        return true;
      }
      break;
    case "didOfferwallRemoved":
      return true;
  }
  return false;
}