setFrequency abstract method

void setFrequency(
  1. double frequency, {
  2. double? time,
})

Set the frequency for this wave.

Implementation

void setFrequency(final double frequency, {final double? time});