check method

Future<bool> check()

Implementation

Future<bool> check() async {
  try {
    final version = await pubUpdater.getLatestVersion(pkg.pkg);

    return version == pkg.version;
  } catch (_) {
    return true;
  }
}