NestedRoute<ParentT extends BaseRoute, SelfT extends NestedRoute<ParentT, SelfT>> class abstract

Abstract class for nested routes with generic type parameters

Inheritance
Implementers

Constructors

NestedRoute(ParentT _parent, String _routeName, [String _routePath = ''])
const

Properties

basePath String
Returns the base route name
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
path String
Returns the full path including route name and path
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(dynamic id) → SelfT
Convenient method for withId
copyWith(String newPath) → SelfT
Abstract method that must be implemented by subclasses to return the proper concrete type
id(dynamic id) String
Minimal method for retrieving a specific resource by id
join(String routeName) String
Joins the current path with a subpath
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withId(dynamic id) → SelfT
Creates a new instance with the given id
withQueryParams(Map<String, dynamic> params) String
Adds query parameters to the path
inherited

Operators

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