RouteEntryInfo class
Public snapshot of one collected route (what the validator and generator operate on).
Constructors
-
RouteEntryInfo({required String path, required String name, required String className, required String importUri, bool deepLinkAware = false, bool isShell = false, String? parent, Map<
String, String> queryParameters = const {}, Map<String, String> pathParameters = const {}, List<String> middleware = const [], String? filePath, int? line}) -
const
Properties
- className → String
-
Annotated View class name, e.g.
ProductDetailView.final - deepLinkAware → bool
-
final
- filePath → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- importUri → String
-
Import URI of the file declaring the View.
final
- isShell → bool
-
Whether this route is a shell whose View renders around its children.
final
- line → int?
-
final
-
middleware
→ List<
String> -
Guard class names applied before route activation.
final
- name → String
-
Route name (explicit or derived from the class name).
final
- parent → String?
-
Raw
parentreference — a route NAME ('dashboard') or route PATH ('/dashboard'). LegacyparentPathvalues are path references.final - path → String
-
Declared route path, e.g.
/products/:id.final -
pathParameters
→ Map<
String, String> -
Declared path parameter types, e.g.
{'id': 'int'}.final -
queryParameters
→ Map<
String, String> -
Declared query parameter types, e.g.
{'q': 'String', 'page': 'int'}.final - 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited