bbox property
Returns the BoundingBox of the LineString
Example:
LineString([Coordinate(1, 2), Coordinate(3, 4)]).bbox; // BoundingBox(1, 2, 3, 4)
Implementation
@override
BoundingBox get bbox {
List<Point> points = explode();
return BoundingBox.fromPoints(points);
}