of static method

Implementation

static AppRouterDelegate of(BuildContext context) {
  final RouterDelegate<dynamic> delegate = Router.of(context).routerDelegate;
  return delegate as AppRouterDelegate;
}