VelocityEstimate constructor

const VelocityEstimate(
  1. {required Offset pixelsPerSecond,
  2. required double confidence,
  3. required Duration duration,
  4. required Offset offset}
)

Creates a dimensional velocity estimate.

Implementation

const VelocityEstimate({
  required this.pixelsPerSecond,
  required this.confidence,
  required this.duration,
  required this.offset,
});