RouteMatch<T> class
- Annotations
Constructors
-
RouteMatch.new({required String name, required List<
String> segments, required String path, required String stringMatch, required LocalKey key, bool isBranch = false, List<RouteMatch> ? children, T? args, List<StackedRouteGuard> guards = const [], Parameters pathParams = const Parameters({}), Parameters queryParams = const Parameters({}), String fragment = '', String? redirectedFrom, Map<String, dynamic> meta = const {}}) -
const
Properties
- args → T?
-
final
-
children
→ List<
RouteMatch> ? -
final
-
flattened
→ List<
RouteMatch> -
no setter
- fragment → String
-
final
- fromRedirect → bool
-
no setter
-
guards
→ List<
StackedRouteGuard> -
final
- hasChildren → bool
-
no setter
- hasEmptyPath → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- isBranch → bool
-
final
- key → LocalKey
-
final
-
meta
→ Map<
String, dynamic> -
final
- name → String
-
final
- path → String
-
final
- pathParams → Parameters
-
final
- queryParams → Parameters
-
final
- redirectedFrom → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
→ List<
String> -
final
- stringMatch → String
-
final
Methods
-
allSegments(
{bool includeEmpty = false}) → List< String> -
copyWith(
{String? path, String? stringMatch, Parameters? pathParams, Parameters? queryParams, List< RouteMatch> ? children, String? fragment, List<String> ? segments, String? redirectedFrom, String? routeName, Object? args, LocalKey? key, List<StackedRouteGuard> ? guards, Map<String, dynamic> ? meta}) → RouteMatch -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPageRouteInfo(
) → PageRouteInfo -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override