maybeOf static method

NRouter? maybeOf(
  1. BuildContext context
)

Implementation

static NRouter? maybeOf(BuildContext context) {
  final router = RouteRestorable.maybeOf(context);
  return router?.delegate.router;
}