obtain method

T obtain()

Implementation

T obtain() => items.isNotEmpty ? items.removeLast() : instantiator();