DataPoint.fromOffset constructor

DataPoint.fromOffset(
  1. Offset offset
)

Implementation

factory DataPoint.fromOffset(Offset offset) {
  return DataPoint(offset.dx, offset.dy, 1);
}