saveArray abstract method

Future<void> saveArray(
  1. List array, {
  2. required RCacheKey key,
})

Method for storing an Array with a defined key.

Example:

// RCaching.instance.saveArray([101, "string", true], key: RCacheKey("array"));

Implementation

Future<void> saveArray(List<dynamic> array, {required RCacheKey key});