RateBasedSampler constructor
RateBasedSampler(
- double sampleRate
sampleRate should be between 0 and 1
Implementation
RateBasedSampler(this.sampleRate) {
try {
random = Random.secure();
} on UnsupportedError {
random = Random();
}
}