Voltage constructor

const Voltage(
  1. int value
)

Implementation

const Voltage(this.value);