OscillatorOptions constructor
OscillatorOptions({
- num? detune,
- num? frequency,
- PeriodicWave? periodicWave,
- OscillatorType? type,
- num? channelCount,
- ChannelCountMode? channelCountMode,
- ChannelInterpretation? channelInterpretation,
Implementation
factory OscillatorOptions({
_i2.num? detune,
_i2.num? frequency,
_i3.PeriodicWave? periodicWave,
_i3.OscillatorType? type,
_i2.num? channelCount,
_i3.ChannelCountMode? channelCountMode,
_i3.ChannelInterpretation? channelInterpretation,
}) =>
OscillatorOptions._(
detune: detune,
frequency: frequency,
periodicWave: periodicWave ?? _i6.undefined,
type: type?.name ?? _i6.undefined,
channelCount: channelCount,
channelCountMode: channelCountMode?.name ?? _i6.undefined,
channelInterpretation: channelInterpretation?.name ?? _i6.undefined,
);