RandomEffectController constructor
RandomEffectController(
- DurationEffectController child,
- RandomVariable randomGenerator
Implementation
RandomEffectController(DurationEffectController child, this.randomGenerator)
: assert(!child.isInfinite, 'Child cannot be infinite'),
_child = child,
super.empty() {
_initializeDuration();
}