isAppEnabled static method

Future<bool> isAppEnabled(
  1. String uri
)

Only for Android.

Check if the app is enabled or not with the given uri scheme.

If the app isn't found, then a PlatformException is thrown.

Implementation

static Future<bool> isAppEnabled(String uri) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent('uri', () => uri);
  return await _channel.invokeMethod("isAppEnabled", args);
}