emptyGeometry abstract method

void emptyGeometry(
  1. Geom type, {
  2. String? name,
})

Writes an empty geometry of type.

Use name to specify a name for a geometry (when applicable).

Note: normally it might be a good idea to avoid "empty geometries" as those are encoded and decoded with different ways in different formats.

An example to write an "empty" point:

  content.emptyGeometry(Geom.point);

Implementation

void emptyGeometry(Geom type, {String? name});