unregisterProtocolHandler function
Unregisters the protocol handler with the underlying platform. The provided
scheme
will no longer be used in links.
Note that this will unregister a protocol by scheme regardless of which process had registered it. Unregistering a scheme that was not registered by this application is undefined and depends on platform-specific restrictions.
Implementation
void unregisterProtocolHandler(String scheme) {
_handler?.unregister(scheme);
}