getCountryBoundingRectangle static method
- String code
Get the country bounding rectangle for the isoCode.
Parameters
- IN code ISO 3166-1 alpha-3 country code.
Returns
- Country bounding rectangle as RectangleGeographicArea
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']);
}