getWikiImageUrl method

String getWikiImageUrl(
  1. int index
)

Returns the direct URL for the Wikipedia image at index.

Parameters

  • index: Zero-based index of the image.

Returns

  • String: The image URL or an empty string when invalid.

Also see:

Implementation

String getWikiImageUrl(final int index) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'ExternalInfo',
    'getWikiImageURL',
    args: index,
  );

  return resultString['result'];
}