Skip to content

IrradianceOps

extension IrradianceOps on num

Extension methods for constructing Irradiance values from num.

Properties

ergsPerSecondPerSquareCentimeter extension no setter

Irradiance get ergsPerSecondPerSquareCentimeter

Creates an Irradiance of this value in ergs per second per square centimeter.

Available on num, provided by the IrradianceOps extension

Implementation
dart
Irradiance get ergsPerSecondPerSquareCentimeter =>
    Irradiance.ergsPerSecondPerSquareCentimeter(this);

milliwattsPerSquareMeter extension no setter

Irradiance get milliwattsPerSquareMeter

Creates an Irradiance of this value in milliwatts per square meter.

Available on num, provided by the IrradianceOps extension

Implementation
dart
Irradiance get milliwattsPerSquareMeter => Irradiance.milliwattsPerSquareMeter(this);

wattsPerSquareMeter extension no setter

Irradiance get wattsPerSquareMeter

Creates an Irradiance of this value in watts per square meter.

Available on num, provided by the IrradianceOps extension

Implementation
dart
Irradiance get wattsPerSquareMeter => Irradiance.wattsPerSquareMeter(this);