RouteValidator class

Validates collected route metadata. Pure: data in, errors out.

Constructors

RouteValidator()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate({required List<RouteEntryInfo> routes, required List<RedirectRuleInfo> redirects, required List<NonViewTargetInfo> nonViewTargets, required Set<String> pubspecDeps}) → List<RouteValidationError>
Validate all collected metadata. Empty list = build may proceed.

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

resolveParentPath(String ref, List<RouteEntryInfo> routes) → String?
Resolves a parent reference (route name or path) to the parent route's PATH, or null when no route matches.

Constants

supportedParamTypes → const Set<String>
The only parameter types generated RouteParams support.