getVersion static method
Returns the new version.
Implementation
static Future<Version?> getVersion({
required String bundleId,
required String country,
}) async {
final url = _getUrl(bundleId: bundleId, country: country);
final response = await _client.get(url);
return response.getVersion();
}