lastObservedLiveCountFor method

int lastObservedLiveCountFor(
  1. String name
)

Last-observed live count for name. Returns 0 when the name has never been swept or all refs were finalised.

Implementation

int lastObservedLiveCountFor(String name) =>
    _lastObservedLiveCountByName[name] ?? 0;