WaveShaperOptions constructor

WaveShaperOptions({
  1. Object? curve,
  2. OverSampleType? oversample,
  3. num? channelCount,
  4. ChannelCountMode? channelCountMode,
  5. ChannelInterpretation? channelInterpretation,
})

Implementation

factory WaveShaperOptions({
  _i2.Object? curve,
  _i3.OverSampleType? oversample,
  _i2.num? channelCount,
  _i3.ChannelCountMode? channelCountMode,
  _i3.ChannelInterpretation? channelInterpretation,
}) =>
    WaveShaperOptions._(
      curve: curve ?? _i6.undefined,
      oversample: oversample?.name ?? _i6.undefined,
      channelCount: channelCount,
      channelCountMode: channelCountMode?.name ?? _i6.undefined,
      channelInterpretation: channelInterpretation?.name ?? _i6.undefined,
    );