cacheKey property

dynamic cacheKey
final

Identifier used for storing the data in cache.

cacheKey can be int or String.

const key = "rndStr";
// or
const key = 1;

Also, cacheKey can be a list composed of Strings and ints.

const key = ["rndStr", 1];

Implementation

final dynamic cacheKey;