saveInt abstract method

Future<void> saveInt({
  1. required String key,
  2. required int data,
})
inherited

Saves an integer value in the cache with the specified key.

This method is asynchronous and returns a Future<void> that completes when the operation is finished.

Implementation

Future<void> saveInt({required String key, required int data});