Skip to content

PowerOps

extension PowerOps on num

Extension methods for constructing Power values from num.

Properties

btuPerHour extension no setter

Power get btuPerHour

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

Power get ergsPerSecond

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

Power get gigawatts

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

Power get horsepower

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

Power get kilowatts

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

Power get megawatts

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

Power get milliwatts

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

Power get solarLuminosities

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

Power get terawatts

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

Power get watts

Creates a Power of this value in watts.

Available on num, provided by the PowerOps extension

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