nodeHandle static method

void nodeHandle(
  1. String? target,
  2. PageType? pageType,
  3. String actionType, {
  4. Map? result,
  5. bool? homePage,
  6. bool animated = true,
  7. Route? route,
})

Implementation

static void nodeHandle(String? target, PageType? pageType, String actionType,
    {Map? result, bool? homePage, bool animated = true, Route? route}) {
  Map arguments = {
    'target': target,
    'pageType': '$pageType'.split('.').last,
    'params': (result != null) ? result : {},
    'actionType': actionType,
    'homePage': homePage,
    'animated': animated,
    'identifier': identifierWithRoute(route)
  };
  DStack.instance.channel!.sendNodeToNative(arguments);
}