getCountryNameByIndex static method

String getCountryNameByIndex(
  1. int index
)

Returns the country name associated with an internal country index.

Parameters

  • index: (int) Internal country index.

Returns

  • (String) The country name for the given index.

Implementation

static String getCountryNameByIndex(final int index) {
  final OperationResult resultString = staticMethod(
    'MapDetails',
    'getCountryNameByIndex',
    args: index,
  );

  return resultString['result'];
}