currency method

String? currency(
  1. Map response
)

Return field currency from iTunes results.

Implementation

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