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
Methods
-
attach<
P, S, D> (AppRoute< P, S, D> route, T value) → AppRoute<P, S, D> -
Returns
routewithvalueattached 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