menu
stash package
documentation
stash_api.dart
KeySampler
sampleSize method
sampleSize method
dark_mode
light_mode
sampleSize
method
int
sampleSize
(
int
size
)
Returns the sample size
size
: The size of the collection to sample
Implementation
int sampleSize(int size) => (size * _factor).truncate();
stash package
documentation
stash_api
KeySampler
sampleSize method
KeySampler class