Distance.yard constructor

Distance.yard(
  1. double value
)

Implementation

factory Distance.yard(double value) => Distance(value, Unit.yard);