isUpdateAvailable method

Future<bool> isUpdateAvailable()

Checks if an app update is available.

Implementation

Future<bool> isUpdateAvailable() async {
  try {
    return await SmartAppUpdatePlatform.instance.isUpdateAvailable();
  } catch (e) {
    throw SmartAppUpdateException('Failed to check for update: $e');
  }
}