NRouter constructor
NRouter({})
Implementation
NRouter({
required this.rootPage,
String? restorationId,
Map<String, dynamic> params = const {},
Map<String, dynamic>? extra,
Object? groupId,
this.observers = const [],
this.updateLocation = false,
}) {
routerDelegate = NRouterDelegate(
restorationId: restorationId, rootPage: rootPage, router: this);
routerDelegate.init(params, extra, groupId);
}