grams method

Weight grams()

Gets a Weight representing this number of grams.

Implementation

Weight grams() => Weight.fromGrams(this);