call method

void call(
  1. Map? object
)

Streams the specified GeoJSON object.

While both features and geometry objects are supported as input, the stream only describes the geometry, and thus additional feature properties are not visible to streams.

Implementation

void call(Map? object) {
  if (object != null && _streamObjectType.containsKey(object['type'])) {
    _streamObjectType[object['type']]!(object);
  } else {
    _streamGeometry(object);
  }
}