capacity property

int get capacity

The size of the bucket: the most permits taken at once. count unless a burst was given.

Implementation

int get capacity => _burst ?? count;