sampleSize method

int sampleSize(
  1. int size
)

Returns the sample size

  • size: The size of the collection to sample

Implementation

int sampleSize(int size) => (size * _factor).truncate();