LineString.read constructor
Implementation
factory LineString.read(
int? srid, ByteDataReader reader, bool hasZ, bool hasM) {
final length = reader.readUint32();
return LineString(
srid,
List.generate(
length,
(i) => Point.read(srid, reader, hasZ, hasM),
),
hasZ,
hasM,
);
}