handleMethod method

void handleMethod(
  1. MethodCall call
)

Implementation

void handleMethod(MethodCall call) async {
  var methodPath = call.method.split('#');
  var listenerName = methodPath[1];

  if (listenerName == 'InjectorInAppMessageListener') {
    _handleInAppListenerMethod(call);
    return;
  }

  if (listenerName == 'InjectorInlineInAppMessageListener') {
    _handleInlineInAppListenerMethod(call);
    return;
  }
}