allocated property

int get allocated

Returns the number of allocated structs.

Implementation

int get allocated => _used.where((used) => used).length;