Skip to content

FrequencyOps

extensionFrequencyOpsonnum

Extension methods for constructing Frequency values from num.

Properties

gigahertz extension no setter

Frequencygetgigahertz

Creates a Frequency of this value in gigahertz.

Available on num, provided by the FrequencyOps extension

Implementation
dart
Frequency get gigahertz => Frequency.gigahertz(this);

hertz extension no setter

Frequencygethertz

Creates a Frequency of this value in hertz.

Available on num, provided by the FrequencyOps extension

Implementation
dart
Frequency get hertz => Frequency.hertz(this);

kilohertz extension no setter

Frequencygetkilohertz

Creates a Frequency of this value in kilohertz.

Available on num, provided by the FrequencyOps extension

Implementation
dart
Frequency get kilohertz => Frequency.kilohertz(this);

megahertz extension no setter

Frequencygetmegahertz

Creates a Frequency of this value in megahertz.

Available on num, provided by the FrequencyOps extension

Implementation
dart
Frequency get megahertz => Frequency.megahertz(this);

revolutionsPerMinute extension no setter

FrequencygetrevolutionsPerMinute

Creates a Frequency of this value in revolutions per minute.

Available on num, provided by the FrequencyOps extension

Implementation
dart
Frequency get revolutionsPerMinute => Frequency.revolutionsPerMinute(this);

terahertz extension no setter

Frequencygetterahertz

Creates a Frequency of this value in terahertz.

Available on num, provided by the FrequencyOps extension

Implementation
dart
Frequency get terahertz => Frequency.terahertz(this);