init method

Future<void> init()

Replay the cold-start URI (if any) through the router.

Implementation

Future<void> init() async {
  final Uri? initial = await _appLinks.getInitialLink();
  if (initial != null) {
    await handle(initial);
  }
}