isGeomPoint static method

bool isGeomPoint(
  1. Geometry geometry
)

Checks if the given geometry is a Point (or MultiPoint) geometry.

Implementation

static bool isGeomPoint(Geometry geometry) {
  if (geometry is Point || geometry is MultiPoint) {
    return true;
  }
  return false;
}