putIfAbsent<T extends Object> method
Stores a value in the storage only if the key doesn't already exist.
Implementation
@override
Future<bool> putIfAbsent<T extends Object>(
String key,
T value, [
String? trace,
]) {
return _getCache<T>().putIfAbsent(key, value);
}