containsKey abstract method
Returns true if a value with the given key exists in the storage.
This method checks for the presence of a key without retrieving its value, which can be more efficient than checking if a get operation returns null.
Parameters:
key- The unique identifier to check for existence.
Returns a Future that completes with true if a value with the specified
key exists in storage, false otherwise.
Throws:
- ArgumentError if the key is invalid.
Implementation
Future<bool> containsKey(String key);