CodedValueDescription class final

The description of the CodedValue to be created.

Each CodedValueDescription consists of a value and a name. For example, for roads data the values 1, 2, and 3 might correspond to three types of road surface such as gravel, asphalt, and concrete. Coded value domains are typically created and assigned to your datasets using ArcGIS Pro, ArcGIS Online, or ArcGIS Enterprise.

If your mobile geodatabase was created in ArcGIS Pro or using Geodatabase.create, you can create a CodedValueDomain. First, you must create a CodedValueDomainDescription with a collection of CodedValueDescription, by using CodedValueDomainDescription.new. Next, you create the CodedValueDomain by calling Geodatabase.createDomain with the CodedValueDomainDescription.

Implemented types

Constructors

CodedValueDescription({required String name, required dynamic value})
Creates a new coded value description object with the specified name and value.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The coded value's name.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ dynamic
The coded value's value.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited