Volume.fromImperialTeaspoons constructor

Volume.fromImperialTeaspoons(
  1. Rational imperialTeaspoons
)

Creates a Volume representing the specified number of imperialTeaspoons.

Implementation

factory Volume.fromImperialTeaspoons(Rational imperialTeaspoons) =>
    Volume.fromUnits(VolumeUnit.imperialTeaspoon, imperialTeaspoons);