DeepLinkTarget class

Where an incoming URI resolves to, before anything navigates.

Constructors

DeepLinkTarget({required String path, required bool registered, required String target, required Map<String, dynamic> queryParameters})
Creates a DeepLinkTarget.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
The path read out of the URI, e.g. /product/42.
final
queryParameters Map<String, dynamic>
The URI's query parameters, passed on to the page.
final
registered bool
Whether path is a registered route.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target String
Where the app actually goes: path, or the handler's fallbackRoute when path isn't registered.
final
usedFallback bool
Whether the fallback route was used instead of path.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
The JSON Metro reads.
toString() String
A string representation of this object.
inherited

Operators

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