samplingSeed property

  1. @protected
int samplingSeed

Returns a seed value used by generateSamples to seed a random number generator to avoid sample aliasing.

Subclasses should override this and provide a custom seed.

The value returned should be the same each time it is called, unless the curve definition changes.

Implementation

@protected
int get samplingSeed => 0;