attach<P, S, D> method

AppRoute<P, S, D> attach<P, S, D>(
  1. AppRoute<P, S, D> route,
  2. T value
)

Returns route with value attached under this capability.

Implementation

AppRoute<P, S, D> attach<P, S, D>(AppRoute<P, S, D> route, T value) =>
    route._withCapability<T>(this, value);