onDeepLink method

dynamic onDeepLink(
  1. dynamic callback(
    1. String route,
    2. dynamic data
    )
)

Set the deep link action. e.g. nylo.onDeepLink((route, data) { print("Deep link route: $route"); print("Deep link data: $data"); });

Implementation

onDeepLink(Function(String route, dynamic data) callback) {
  onDeepLinkAction = callback;
}