ValueUnit<V, U extends Unit> constructor

const ValueUnit<V, U extends Unit>({
  1. required V value,
  2. required U unit,
})

Implementation

const factory ValueUnit({
  required V value,
  required U unit,
}) = _ValueUnit<V, U>;