RouteNotFoundException constructor
RouteNotFoundException({})
Creates an exception indicating the requested route could not be resolved.
Implementation
RouteNotFoundException({
required super.route,
super.arguments,
super.cause,
super.stack,
super.metadata,
}) : super(
operation: 'push',
userMessage: 'Page not found.',
devMessage: 'Route not found: $route',
severity: Severity.warning,
isReportable: false,
);