shouldUpdate static method

bool shouldUpdate(
  1. String? packageVersion,
  2. String? storeVersion
)

compare packageVersion and storeVersion and return true if update is needed.

Implementation

static bool shouldUpdate(String? packageVersion, String? storeVersion) {
  return _shouldUpdate(packageVersion, storeVersion);
}