getStoreLink static method
Returns the store link for the App Store.
Implementation
static Future<Uri> getStoreLink({
required String bundleId,
required String country,
}) async {
final url = _getUrl(bundleId: bundleId, country: country);
final response = await _client.get(url);
final trackId = response.getTrackId();
final storeUrl = 'https://apps.apple.com/app/id$trackId?mt=8';
return Uri.parse(storeUrl);
}