cached method
Implementation
FutureOr<SharedMapCached<K, V>> cached({Duration? timeout}) {
var self = this;
if (self is Future<SharedMap<K, V>>) {
return self.cached(timeout: timeout);
} else {
return self.cached(timeout: timeout);
}
}