Volume.fromUsTeaspoons constructor

Volume.fromUsTeaspoons(
  1. Rational usTeaspoons
)

Creates a Volume representing the specified number of usTeaspoons.

Implementation

factory Volume.fromUsTeaspoons(Rational usTeaspoons) =>
    Volume.fromUnits(VolumeUnit.usTeaspoon, usTeaspoons);