ProtocolHandler class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
no setter
-
listeners
→ List<
ProtocolListener> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
ProtocolListener listener) → void -
getInitialUrl(
) → Future< String?> - If the app launch was triggered by an protocol, it will give the link url, otherwise it will give null.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
String scheme) → Future< void> - Register a custom protocol
-
removeListener(
ProtocolListener listener) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → ProtocolHandler
-
The shared instance of ProtocolHandler.
final