Skip to content

FrequencyOps

extension FrequencyOps on num

Extension methods for constructing Frequency values from num.

Properties

gigahertz extension no setter

Frequency get gigahertz

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

Frequency get hertz

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

Frequency get kilohertz

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

Frequency get megahertz

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

Frequency get revolutionsPerMinute

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

Frequency get terahertz

Creates a Frequency of this value in terahertz.

Available on num, provided by the FrequencyOps extension

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