setLicenseUsingKey static method

LicenseResult setLicenseUsingKey(
  1. String licenseKey,
  2. {List<String> extensions = const []}
)

License an application for deployment using an ESRI license string and extension license strings.

License an application for deployment using an ESRI license string and one or more extension license strings.

Parameters:

  • licenseKey — The lite, basic, standard, or advanced ESRI license string.
  • extensions — A List of extension license strings.

Return Value: The LicenseResult of the main license attempting to be set.

Implementation

static LicenseResult setLicenseUsingKey(String licenseKey,
    {List<String> extensions = const []}) {
  ArcGISHttpClient._userAgent = null;
  return _setLicenseUsingKey(licenseKey, extensions: extensions);
}