DesiredCatalog constructor - DesiredCatalog - core.engine library - Dart API
DesiredCatalog
DesiredCatalog constructor
- String hrn,
- CatalogVersionHint version
Creates a new instance.
-
hrnA HERE Resource Name (HRN) for this catalog. This is a unique string returned by the HERE platform when you add a new catalog to your project. For more information, see CatalogIdentifier.hrn -
versionThe version to use for this Catalog's data. You should use either CatalogVersionHint.specific to specify a specific version of the catalog or CatalogVersionHint.latestWithIgnoringCachedData to access the latest version of the catalog available on the HERE platform. Based on the value in this field, the HERE platform will determine the best version to use for this catalog or result in error logs if the desired version is not available.
Implementation
factory DesiredCatalog(String hrn, CatalogVersionHint version) => $prototype.make(hrn, version);