Creates a CountryData instance.
API users do not typically construct this object directly.
Human-readable country name
ISO 3166-1 alpha-3 country code (e.g. USA)
OptionalflagImage: ImgOptional flag image object; undefined when not present
Optional ReadonlyflagOptional flag image object; undefined when not present
ReadonlyisoISO 3166-1 alpha-3 country code (e.g. USA)
ReadonlynameHuman-readable country name
Compact country metadata including display name, ISO code and flag.
This value object is returned by several MapDetails helpers (for example, MapDetails.getCountryData and MapDetails.allCountriesData) and can be used by clients to display country information or retrieve flag images.
See
MapDetails - Utilities for querying map metadata and country information.