KeySampler constructor
const
KeySampler({
- double? factor,
Builds a KeySampler with a optional factor
factor
: The sampling factor
Implementation
const KeySampler({double? factor})
: assert(factor == null || (factor > 0.0 && factor <= 1.0)),
_factor = factor ?? 1.0;