get method

Future<T> get()

Retrieves the tracked value, resetting it if expired.

This method ensures that the value is fresh by checking its expiration status and resetting it if necessary.

Implementation

Future<T> get() => _lock.synchronized(() => _ensureFresh());