geometryType property

GeometryType get geometryType

This indicates the type of geometrical shape it can represent, such as Envelope, Point or Polygon.

Returns GeometryType.unknown if an error occurs.