isCurrent method

bool isCurrent(
  1. int generation
)

Implementation

bool isCurrent(int generation) => !_disposed && generation == _generation;