version method

String? version(
  1. Map response
)

Return field version from iTunes results.

Implementation

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