DistanceAndIndex constructor

DistanceAndIndex(
  1. double distance,
  2. int index
)

Implementation

DistanceAndIndex(this.distance, this.index);