ValuePoint constructor

const ValuePoint({
  1. required double time,
  2. required double value,
})

Creates a ValuePoint with the given time (ms) and value (0.0–1.0).

Implementation

const ValuePoint({required this.time, required this.value});