Skip to content

ElectricPotentialOps

extension ElectricPotentialOps on num

Extension methods for constructing ElectricPotential values from num.

Properties

kilovolts extension no setter

ElectricPotential get kilovolts

Creates an ElectricPotential of this value in kilovolts.

Available on num, provided by the ElectricPotentialOps extension

Implementation
dart
ElectricPotential get kilovolts => ElectricPotential.kilovolts(this);

megavolts extension no setter

ElectricPotential get megavolts

Creates an ElectricPotential of this value in megavolts.

Available on num, provided by the ElectricPotentialOps extension

Implementation
dart
ElectricPotential get megavolts => ElectricPotential.megavolts(this);

microvolts extension no setter

ElectricPotential get microvolts

Creates an ElectricPotential of this value in microvolts.

Available on num, provided by the ElectricPotentialOps extension

Implementation
dart
ElectricPotential get microvolts => ElectricPotential.microvolts(this);

millivolts extension no setter

ElectricPotential get millivolts

Creates an ElectricPotential of this value in millivolts.

Available on num, provided by the ElectricPotentialOps extension

Implementation
dart
ElectricPotential get millivolts => ElectricPotential.millivolts(this);

volts extension no setter

Creates an ElectricPotential of this value in volts.

Available on num, provided by the ElectricPotentialOps extension

Implementation
dart
ElectricPotential get volts => ElectricPotential.volts(this);