Curve2DSample constructor

const Curve2DSample(
  1. double t,
  2. Offset value
)

A const constructor for the sample so that subclasses can be const.

All arguments must not be null.

Implementation

const Curve2DSample(this.t, this.value) : assert(t != null), assert(value != null);