AreaUnitId enum

Defines a list of the most commonly-used units of area measurement. These values can be used to create instances of AreaUnit, as an alternative to using well-known IDs (WKIDs). In addition to the units in this enumeration, you can also use less commonly-used units, by passing a WKID of an area unit to the inherited Unit.fromWkid factory method. The function Unit.wkid returns the WKID of the unit.

Inheritance

Constructors

AreaUnitId()
const

Values

other → const AreaUnitId

Indicates that the unit of area measurement is a custom unit, or a unit not listed in the enumerated type. This value may be returned from an AreaUnit created from a WKID of a less commonly used unit of measurement that does not have an equivalent value in this enumeration.

acres → const AreaUnitId

Indicates an area measurement in acres. This unit has a WKID of 109402.

hectares → const AreaUnitId

Indicates an area measurement in hectares. This unit has a WKID of 109401.

squareCentimeters → const AreaUnitId

Indicates an area measurement in square centimeters. This unit has a WKID of 109451.

squareDecimeters → const AreaUnitId

Indicates an area measurement in square decimeters. This unit has a WKID of 109450.

squareFeet → const AreaUnitId

Indicates an area measurement in square feet. This unit has a WKID of 109405.

squareKilometers → const AreaUnitId

Indicates an area measurement in square kilometers. This unit has a WKID of 109414.

squareMeters → const AreaUnitId

Indicates an area measurement in square meters. This unit has a WKID of 109404.

squareMillimeters → const AreaUnitId

Indicates an area measurement in square millimeters. This unit has a WKID of 109452.

squareMiles → const AreaUnitId

Indicates an area measurement in square statute miles. This unit has a WKID of 109439.

squareYards → const AreaUnitId

Indicates an area measurement in square yards. This unit has a WKID of 109442.

Properties

coreValue int
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<AreaUnitId>
A constant List of the values in this enum, in order of their declaration.