convert method

double convert(
  1. DistanceUnit unit
)

Implementation

double convert(DistanceUnit unit) => unit.conversion * radius;