Energy.joule constructor

Energy.joule(
  1. double value
)

Implementation

factory Energy.joule(double value) => Energy(value, Unit.joule);