RouteBase class abstract

A base class representation of a Route

Every route must contain a path, the url to the route, and a corresponding component to be rendered at that path

Constructors

RouteBase({required String path, required PheasantTemplate component})

Properties

component ↔ PheasantTemplate
The component to be rendered at the route
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
path ↔ String
The path for the route
getter/setter pair
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