redesignedDescription method

String? redesignedDescription(
  1. Document response
)

Return field description from Redesigned Play Store results.

Implementation

String? redesignedDescription(Document response) {
  try {
    final sectionElements = response.getElementsByClassName('bARER');
    final descriptionElement = sectionElements.last;
    final description = descriptionElement.text;
    return description;
  } catch (e) {
    if (debugLogging) {
      if (kDebugMode) {
        print('hcUpgrade: PlayStoreResults.redesignedDescription exception: $e');
      }
    }
  }
  return null;
}