removeItem
abstract fun removeItem(key: String, callback: (DeviceStorageErrorMessage?, Boolean?) -> Unit): DeviceStorage
Removes the key-value pair associated with a key.
Parameters
key
The key to remove.
callback
A callback function that is called when the operation is complete. The first argument is an error object, if any, and the second argument is a boolean indicating whether the operation was successful.