Line constructor

const Line(
  1. Point a,
  2. Point b
)

Creates a line segment from point a to point b.

Implementation

const Line(this.a, this.b);