isInstalled method

Future<bool> isInstalled()

Implementation

Future<bool> isInstalled() async {
  try {
    final appCheck = AppCheck();
    final isAppEnabled = await appCheck.isAppEnabled(package);
    return isAppEnabled;
  } catch (e) {
    return false;
  }
}