isInstallAppWithAndroid function

Future<bool> isInstallAppWithAndroid(
  1. String str
)

是否安装某个app Android str 对应包名

Implementation

Future<bool> isInstallAppWithAndroid(String str) async {
  if (!isAndroid) return false;
  final bool? data =
      await curiosityChannel.invokeMethod<bool?>('isInstallApp', str);
  return data ?? false;
}