matchPath method

  1. @override
bool matchPath(
  1. String? route
)
override

Implementation

@override
matchPath(String? route) {
  if (route == null) {
    return false;
  }

  final uri = Uri.parse(route);

  // The path for a route factory must also match its path format.
  return this.uri.path.isEmpty || _pathArguments.match(uri.path);
}