setInAppLinkHandler static method

Future<void> setInAppLinkHandler([
  1. void handler(
    1. String url
    )?
])

An optional in app links handler for external URLs, deeplinks, etc. in the PLuG support widget.

@param handler: callback that receives URL

Implementation

static Future<void> setInAppLinkHandler([
  void Function(String url)? handler,
]) {
  // Now available for both platforms; iOS is a no-op if not implemented natively
  return DevRevSDKPlatform.instance.setInAppLinkHandler(handler);
}