D2 constructor

const D2(
  1. double x,
  2. double y
)

Implementation

const D2(this.x, this.y);