Connection<RefType extends Reference> constructor

const Connection<RefType extends Reference>(
  1. RefType point1,
  2. RefType point2
)

Creates a new Connection between two RefType points.

Implementation

const Connection(this.point1, this.point2);