velocity method

double velocity(
  1. {double accuracy = 0.0}
)

Implementation

double velocity({double accuracy: 0.0}) => start.timestamp != end.timestamp
    ? length(accuracy: accuracy)! / (end.timestamp! - start.timestamp!)
    : 0.0;