randomFadeOutThreshold method

double randomFadeOutThreshold()

Helper method to generate random fadeOut threshold within the range EffectConfiguration.minFadeOutThreshold - EffectConfiguration.maxFadeOutThreshold

Implementation

double randomFadeOutThreshold() {
  return random.nextDoubleRange(
    effectConfiguration.minFadeOutThreshold,
    effectConfiguration.maxFadeOutThreshold,
  );
}