error static method
Implementation
static RouteQueueEntry error({
required String path,
NPage? nPage,
Map params = const {},
Object? groupId,
Map queryParams = const {},
ValueKey<String> pageKey = const ValueKey('errorPage'),
}) {
return RouteQueueEntry._internal(
path: path,
nPage: nPage ?? NPage.errorNPage,
params: params,
queryParams: queryParams,
groupId: groupId,
pageKey: pageKey,
id: -1,
);
}