apply method

Measure<D> apply(
  1. num f(
    1. num v
    )
)

Returns a copy with f applied to the numeric value.

Implementation

Measure<D> apply(num Function(num v) f) => Measure<D>(f(val), unit);