Weight.gram constructor

Weight.gram(
  1. double value
)

Implementation

factory Weight.gram(double value) => Weight(value, Unit.gram);