size property

Future<int> size

Returns the number of bytes currently being used to store the values in this cache. This may be greater than the max size if a background deletion is pending.

Implementation

Future<int> get size =>
    _lock.synchronized(() => _initialize().then((value) => _size));