matches method

bool matches(
  1. Uri uri
)

Returns true if uri is matched by this pattern.

Implementation

bool matches(Uri uri) => match(uri) != null;