Skip to content

PowerOps

extensionPowerOpsonnum

Extension methods for constructing Power values from num.

Properties

btuPerHour extension no setter

PowergetbtuPerHour

Creates a Power of this value in BTU per hour.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get btuPerHour => Power.btuPerHour(this);

ergsPerSecond extension no setter

PowergetergsPerSecond

Creates a Power of this value in ergs per second.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get ergsPerSecond => Power.ergsPerSecond(this);

gigawatts extension no setter

Powergetgigawatts

Creates a Power of this value in gigawatts.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get gigawatts => Power.gigawatts(this);

horsepower extension no setter

Powergethorsepower

Creates a Power of this value in mechanical horsepower.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get horsepower => Power.horsepower(this);

kilowatts extension no setter

Powergetkilowatts

Creates a Power of this value in kilowatts.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get kilowatts => Power.kilowatts(this);

megawatts extension no setter

Powergetmegawatts

Creates a Power of this value in megawatts.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get megawatts => Power.megawatts(this);

milliwatts extension no setter

Powergetmilliwatts

Creates a Power of this value in milliwatts.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get milliwatts => Power.milliwatts(this);

solarLuminosities extension no setter

PowergetsolarLuminosities

Creates a Power of this value in solar luminosities.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get solarLuminosities => Power.solarLuminosities(this);

terawatts extension no setter

Powergetterawatts

Creates a Power of this value in terawatts.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get terawatts => Power.terawatts(this);

watts extension no setter

Powergetwatts

Creates a Power of this value in watts.

Available on num, provided by the PowerOps extension

Implementation
dart
Power get watts => Power.watts(this);