edges property

List<Line> get edges

The four edges of the rectangle

Implementation

List<Line> get edges => [
      Line(bottomLeft, bottomRight),
      Line(bottomRight, topRight),
      Line(topRight, topLeft),
      Line(topLeft, bottomLeft),
    ];