ModuleRouteReleaseControl extension

This extension can limit access to the ModuleRoute.

on
  • ModuleRoute

Methods

withReleaseControl({String? guardedRoute, String? redirectTo}) → ModularRoute

Available on ModuleRoute, provided by the ModuleRouteReleaseControl extension

Return ModuleRoute with ReleaseGuard. without guardedRoute default value is routerName of ModuleRoute