getWikiImageUrl method

String getWikiImageUrl(
  1. int index
)

Get Wikipedia image URL directly, without notifier.

Parameters

  • IN index Index of the image to get the URL of.

Returns

  • The image URL

Throws

  • An exception if it fails.

Implementation

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

  return resultString['result'];
}