canActivate abstract method
Evaluates whether navigation to location with extracted route params is allowed.
location contains the full target URL string including any query parameters
and hash fragments (e.g. '/search?q=shoes&page=2#top').
Implementation
FutureOr<GuardResult> canActivate(String location, Map<String, String> params);