checkHasUpdates function

bool checkHasUpdates (
  1. String ver1,
  2. String ver2
)

Implementation

bool checkHasUpdates(String ver1, String ver2) {
  final compare = compareVersions(ver1, ver2);

  if (compare < 0) {
    return true;
  }

  return false;
}