VelocityEstimate constructor
Creates a dimensional velocity estimate.
pixelsPerSecond
, confidence
, duration
, and offset
must not be null.
Implementation
const VelocityEstimate({
@required this.pixelsPerSecond,
@required this.confidence,
@required this.duration,
@required this.offset,
}) : assert(pixelsPerSecond != null),
assert(confidence != null),
assert(duration != null),
assert(offset != null);