writeTo method

  1. @override
void writeTo(
  1. FeatureContent writer
)
override

Writes this feature object to writer.

Implementation

@override
void writeTo(FeatureContent writer) {
  writer.featureCollection(
    (feat) {
      for (final item in features) {
        item.writeTo(feat);
      }
    },
    count: features.length,
    bounds:
        boundsExplicit != null ? Box.getDoubleList(boundsExplicit!) : null,
  );
}