trackViewUrl method

String? trackViewUrl(
  1. Map response
)

Return field trackViewUrl from iTunes results.

Implementation

String? trackViewUrl(Map response) {
  String? value;
  try {
    value = response['results'][0]['trackViewUrl'];
  } catch (e) {
    if (debugLogging) {
      if (kDebugMode) {
        print('upgrade.ITunesResults.trackViewUrl: $e');
      }
    }
  }
  return value;
}