UrlMatcher constructor

const UrlMatcher([
  1. String pattern = 'https?://$_kUrlPattern'
])

Creates a UrlMatcher for parsing URLs that start with http(s).

The preset pattern is overwritten if a custom pattern is provided.

Implementation

const UrlMatcher([
  super.pattern = 'https?://$_kUrlPattern',
]);