Distance constructor

Distance(
  1. double value,
  2. Unit unit
)

Implementation

Distance(super.value, super.unit);