handleOverrideMethod method

Future<Null> handleOverrideMethod(
  1. MethodCall methodCall
)

Implementation

Future<Null> handleOverrideMethod(MethodCall methodCall) async {
  if (methodCall.method == RECEIVE_PAYLOAD &&
      notificationReceiveData != null) {

    notificationReceiveData!(methodCall.arguments);
  } else if (methodCall.method == DEEPLINKNOTIFICATION &&
      notificationOpenedData != null) {
    notificationOpenedData!(methodCall.arguments);
  } else if (methodCall.method == DEVICETOKEN &&
      notificationToken != null) {
    notificationToken!(methodCall.arguments);
  } else if (methodCall.method == HANDLELANDINGURL &&
      notificationWebView != null) {
    notificationWebView!(methodCall.arguments);
  }
}