dimension property
Indicates the dimensionality of a Geometry, relating to the number of spatial dimensions in which the geometry may have a size.
You can use Geometry.dimension to work out what kind of symbol can be applied to a specific type of geometry. For example, ArcGISPoint and Multipoint are both zero-dimensional point geometries, and both can be displayed using a type of MarkerSymbol. Polygon and Envelope are both 2-dimensional area geometries that can be displayed using a type of FillSymbol.
Returns GeometryDimension.unknown if an error occurs.
Implementation
GeometryDimension get dimension {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_Geometry_getDimension(_handle, errorHandler);
});
return GeometryDimension._fromCoreValue(coreValue);
}