lookupURLById method

String? lookupURLById(
  1. String id, {
  2. String country = 'US',
  3. bool useCacheBuster = true,
})

Look up URL by id. Example: look up Jack Johnson by iTunes ID: lookupURLById('909253'); Example: look up Google Maps iOS App: lookupURLById('585027354'); Example: look up Google Maps iOS App: lookupURLById('585027354', country: 'FR');

Implementation

String? lookupURLById(String id,
    {String country = 'US', bool useCacheBuster = true}) {
  if (id.isEmpty) {
    return null;
  }

  return lookupURLByQSP({'id': id, 'country': country.toUpperCase()},
      useCacheBuster: useCacheBuster);
}