DataPoint constructor
const
DataPoint({})
Implementation
const DataPoint({
required this.x,
this.key,
this.y = 0.0,
required this.dy,
this.z = 0.0,
this.data = const {},
/// Can be used in case need in snap function
double? fy
}) : fy = fy ?? (y + dy);