addLinkHandler method
Add a callback function callback
to the plugin's link handlers and return the key that identifies the added link handler.
The link handler intercepts the link provided as an argument in StandardAppRouterContext.route.
It is used when you want to perform additional processing when receiving deep links or external notifications without triggering page navigation.
Implementation
StandardAppPluginLinkHandlerKey addLinkHandler(
bool Function(Uri link) callback) {
final tKey = StandardAppPluginLinkHandlerKey();
_linkHandlers[tKey] = callback;
return tKey;
}