setOnDeepLinkHandler method

void setOnDeepLinkHandler (
  1. Function callback
)

Implementation

void setOnDeepLinkHandler(Function callback) {
  if (callback == null) {
    print("Callback parameter in setOnDeepLinkHandler method is required.");
    return;
  }

  _channel.invokeMethod("setOnDeepLinkHandler");

  this._onDeepLinkHandler = callback;
}