currentCountryCodeISO property

String get currentCountryCodeISO

ISO 3166-1 alpha-3 country code for the current road segment.

Returns the three-letter country code (e.g., "USA", "DEU", "GBR") for the road the user is currently traveling on. Returns an empty string if country information is unavailable.

Returns

  • (String) ISO 3166-1 alpha-3 country code, or empty string if not available.

See also:

Implementation

String get currentCountryCodeISO {
  final OperationResult resultString = objectMethod(
    pointerId,
    'NavigationInstruction',
    'getCurrentCountryCodeISO',
  );

  return resultString['result'];
}