DeepLinkMatcher class
Utility that normalises incoming URIs and matches them against app routes.
Constructors
- DeepLinkMatcher()
-
Creates a stateless deep link matcher.
const
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
-
match(
Uri appUri, Iterable< RouteInfo> routes, {Uri? original}) → DeepLinkMatch? -
Match a normalised URI against all
routes. -
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
Static Methods
-
normalizeToAppPath(
Uri incoming, {Iterable< String> hosts = const []}) → Uri - Convert a deep link URI into an internal, path-only URI.