distanceTo abstract method

double distanceTo(
  1. Vector vector, {
  2. Distance distance = Distance.euclidean,
})

Returns a distance between this and vector

Implementation

double distanceTo(
  Vector vector, {
  Distance distance = Distance.euclidean,
});