getStats method

Future<APIResponse<Map<String, dynamic>>> getStats()

Returns the overall information about your apps cache including total number of keys and total storage size (bytes), daily and monthly ingress and egress volumes (bytes).

If the client library key is set to enforce session, an active user session is required (e.g., user needs to be logged in) to call this method.

Returns information about your app's cache storage

Implementation

Future<APIResponse<Map<String, dynamic>>> getStats() =>
    _fetcher.get<Map<String, dynamic>>('/_api/rest/v1/cache/stats');