getCountryBoundingRectangle static method

RectangleGeographicArea getCountryBoundingRectangle(
  1. String code
)

Get the country bounding rectangle for the isoCode.

Parameters

  • IN code ISO 3166-1 alpha-3 country code.

Returns

Throws

  • An exception if it fails.

Implementation

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

  return RectangleGeographicArea.fromJson(resultString['result']);
}