WaveShaperOptions constructor

WaveShaperOptions({
  1. Iterable<double>? curve,
  2. OverSampleType? oversample,
})

Implementation

factory WaveShaperOptions(
        {Iterable<double>? curve, OverSampleType? oversample}) =>
    WaveShaperOptions._(
        curve: curve ?? undefined,
        oversample: oversample?.value ?? OverSampleType.none.value);