isValid method

bool isValid(
  1. String location
)

根据给出路径判断是否有效

Implementation

bool isValid(String location) {
  return routerDelegate.isValid(location);
}