UrlMatcher class Null safety

A variant of TextMatcher for parsing URLs.

Inheritance

Constructors

UrlMatcher([String pattern = r'(?:https?:)?(?://)?(?:' r'(?:[\w\-]{1,256}\.){1,5}[a-zA-Z]{2,10}' r'|\d{1,3}(?:\.\d{1,3}){3}' r'|localhost' r')(?::\d{1,5})?' r"(?:[/?#](?:(?:[\w\-.~%!#$&'()*+,/:;=?@\[\]]+/?)*[^\s.])?)?"])
Creates a UrlMatcher for parsing URLs. [...]
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
pattern String
The regular expression string to specify the rule for parsing.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited