offeredIndex property

int? get offeredIndex

Index at the head of the free queue, without acquiring it.

Implementation

int? get offeredIndex => _free.isEmpty ? null : _free.first;