per method

WeightRate per(
  1. Duration period
)

Creates a WeightRate with the specified period from this value.

Implementation

WeightRate per(Duration period) => WeightRate._(
      value: this,
      period: period,
    );