RouteCapability<T extends Object> class final

A typed key used by optional packages to extend a route definition.

Constructors

RouteCapability(String name)
Creates a capability key with a diagnostic name.

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The name shown in diagnostics.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach<P, S, D>(AppRoute<P, S, D> route, T value) → AppRoute<P, S, D>
Returns route with value attached under this capability.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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