Skip to content

EnergyOps

extension EnergyOps on num

Extension methods for constructing Energy values from num.

Properties

btu extension no setter

Energy get btu

Creates an Energy of this value in BTU.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get btu => Energy.btu(this);

calories extension no setter

Energy get calories

Creates an Energy of this value in calories.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get calories => Energy.calories(this);

electronvolts extension no setter

Energy get electronvolts

Creates an Energy of this value in electronvolts.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get electronvolts => Energy.electronvolts(this);

gigajoules extension no setter

Energy get gigajoules

Creates an Energy of this value in gigajoules.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get gigajoules => Energy.gigajoules(this);

gigawattHours extension no setter

Energy get gigawattHours

Creates an Energy of this value in gigawatt-hours.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get gigawattHours => Energy.gigawattHours(this);

joules extension no setter

Energy get joules

Creates an Energy of this value in joules.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get joules => Energy.joules(this);

kilocalories extension no setter

Energy get kilocalories

Creates an Energy of this value in kilocalories.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get kilocalories => Energy.kilocalories(this);

kilojoules extension no setter

Energy get kilojoules

Creates an Energy of this value in kilojoules.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get kilojoules => Energy.kilojoules(this);

kilowattHours extension no setter

Energy get kilowattHours

Creates an Energy of this value in kilowatt-hours.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get kilowattHours => Energy.kilowattHours(this);

megajoules extension no setter

Energy get megajoules

Creates an Energy of this value in megajoules.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get megajoules => Energy.megajoules(this);

megawattHours extension no setter

Energy get megawattHours

Creates an Energy of this value in megawatt-hours.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get megawattHours => Energy.megawattHours(this);

millijoules extension no setter

Energy get millijoules

Creates an Energy of this value in millijoules.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get millijoules => Energy.millijoules(this);

terajoules extension no setter

Energy get terajoules

Creates an Energy of this value in terajoules.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get terajoules => Energy.terajoules(this);

wattHours extension no setter

Energy get wattHours

Creates an Energy of this value in watt-hours.

Available on num, provided by the EnergyOps extension

Implementation
dart
Energy get wattHours => Energy.wattHours(this);