DataPoint constructor Null safety

DataPoint(
  1. DataPointHeader carpHeader,
  2. [Data? data]
)

Create a new DataPoint.

Implementation

DataPoint(this.carpHeader, [this.data]);