checkGeometryType method
void
checkGeometryType()
Implementation
void checkGeometryType() {
if (!(linearGeom is LineString || linearGeom is MultiLineString))
throw new ArgumentError("Input geometry must be linear");
}