RouteUtils class
Utility functions for route operations
Constructors
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
buildQueryString(
Map< String, String> params) → String - Build query string from map
-
calculateRouteSimilarity(
String route1, String route2) → double - Route similarity scoring (for suggestions)
-
extractParamsFromPath(
String path) → Map< String, String> - Extract parameters from a path string
-
generateBreadcrumb(
String path) → List< String> - Generate breadcrumb from path
-
isValidDeepLink(
String link) → bool - Deep link validation
-
isValidPath(
String path) → bool - Validate path format
- Log route navigation for analytics
-
measureRoutePerformance<
T> (String routeName, T operation()) → T - Performance measurement wrapper
-
parseQueryString(
String query) → Map< String, String> - Parse query string to map
-
sanitizePath(
String path) → String - Convert path to URL-safe format