toLineString method Null safety

LineString toLineString()

Implementation

LineString toLineString() {
  return LineString(coordinates);
}