NPageMain constructor

NPageMain({
  1. bool relative = true,
  2. String path = '/',
  3. List<NPage> pages = const [],
  4. required PageBuilder pageBuilder,
  5. RedirectBuilder? redirectBuilder,
  6. ErrorPageBuilder? errorPageBuilder,
  7. List<Type> groupList = const [],
})

Implementation

NPageMain({
  this.relative = true,
  super.path,
  super.pages,
  required super.pageBuilder,
  super.redirectBuilder,
  this.errorPageBuilder,
  super.groupList,
}) {
  NPage._fullPathToRegExg(this);
  _index = 0;
  resolveFullPath(this, relative, 1);
}