register<T> method

void register<T>()

Registers this Route to global RouteStore.

Implementation

void register<T>() => _store.addRoute<T>(this);