RouteSpec class

A route to prerender together with its per-route SEO metadata.

Constructors

RouteSpec(String path, {RouteMeta meta = const RouteMeta()})
Creates a route spec for path with optional meta.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
meta RouteMeta
SEO metadata for this route, before merging with document defaults.
final
path String
The normalised route path (for example / or /beans/kenya).
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