onDeepLink method
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;
}