frequency property
int
get
frequency
Converts the duration to a frequency in Hz.
Implementation
int get frequency {
if (inMicroseconds <= 10) {
return 100;
}
return 1000 ~/ inMilliseconds;
}
Converts the duration to a frequency in Hz.
int get frequency {
if (inMicroseconds <= 10) {
return 100;
}
return 1000 ~/ inMilliseconds;
}