parseAndLaunch static method
Parse and Launch the intent in format.
Equivalent of native android Intent.parseUri(URI, Intent.URI_INTENT_SCHEME) This works only on Android platforms.
Implementation
static Future<void> parseAndLaunch(String uri) async {
if (!const LocalPlatform().isAndroid) {
return;
}
await _defaultChannel.invokeMethod<void>('parseAndLaunch', <String, String>{
'uri': uri,
});
}