writeTo method
Writes this geometry object to writer
.
Implementation
@override
void writeTo(SimpleGeometryContent writer) {
final type = onePoint?.type ?? Coords.xy;
writer.lineString(
chain.valuesFlat(type),
type: type,
bounds:
boundsExplicit != null ? Box.getDoubleList(boundsExplicit!) : null,
);
}