Distance.withType constructor

Distance.withType(
  1. double value_,
  2. DistanceTypes type
)

Implementation

Distance.withType(double value_, DistanceTypes type) {
  value = value_;
  _type = type;
}