URLPattern class

The interface matches URLs or parts of URLs against a pattern. The pattern can contain capturing groups that extract parts of the matched URL. More information about the syntax of patterns can be found on the API overview page: URL Pattern API

Note: This feature is available in Web Workers

Available Extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

URLPattern([dynamic input, String? baseURL])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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