getCountryNameByISO static method

String getCountryNameByISO(
  1. String code
)

Get the country name for the specified ISO code.

Parameters

  • IN code The country code

Returns

  • Country name as string

Throws

  • An exception if it fails.

Implementation

static String getCountryNameByISO(final String code) {
  final OperationResult resultString = objectMethod(
    0,
    'MapDetails',
    'getCountryNameByISO',
    args: code,
  );

  return resultString['result'];
}