putIfAbsent abstract method
Associates the specified key with the given value
if not already associated with a value.
key: key with which the specified value is to be associatedvalue: value to be associated with the specified key
Returns true if a value was set.
Implementation
Future<bool> putIfAbsent(String key, dynamic value,
{Duration? expiryDuration});