hasWikiInfo static method

bool hasWikiInfo(
  1. Landmark landmark
)

Checks whether Wikipedia information is available for landmark.

This performs a lightweight availability check (title, url, summary and picture URLs) and returns true when the platform reports that wiki information exists for the supplied landmark.

Parameters

  • landmark: The landmark to check for Wikipedia information.

Returns

  • bool: true when Wikipedia info is available, otherwise false.

Implementation

static bool hasWikiInfo(Landmark landmark) {
  return _checkWikiInfo(landmark).$1;
}