saveBool abstract method

Future<void> saveBool(
  1. bool value, {
  2. required RCacheKey key,
})

Method for storing a Boolean with a defined key.

Example:

// RCaching.instance.saveBool(true, key: RCacheKey("bool"));

Implementation

Future<void> saveBool(bool value, {required RCacheKey key});