getCountryNameByIndex static method

String getCountryNameByIndex(
  1. int index
)

Get the country name for the specified index.

Parameters

  • IN index The country index

Returns

  • Country name as string

Implementation

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

  return resultString['result'];
}