ChildRouteReleaseControl extension

This extension can limit access to the ChildRoute.

on
  • ChildRoute

Methods

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

Available on ChildRoute, provided by the ChildRouteReleaseControl extension

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