MethodChannelProtocolHandler class

An implementation of ProtocolHandlerPlatform that uses method channels.

Inheritance

Properties

eventChannel EventChannel
The event channel used to receive events from the native platform.
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
onUrlReceived Stream<String?>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInitialUrl() Future<String?>
If the app launch was triggered by an protocol, it will give the link url, otherwise it will give null.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(String scheme) Future<void>
Register the protocol scheme.
override
toString() String
A string representation of this object.
inherited

Operators

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