add method

void add(
  1. AutoRouteGuard guard
)

Adds guard to the list of active guards

Implementation

void add(AutoRouteGuard guard) {
  value = [...value, guard];
}