delete method
Deletes an item from storage using the given key.
key: The key of the item to delete.
Returns true if deletion was successful, otherwise false.
Implementation
@override
Future<bool> delete(dynamic key) async {
try {
await storage.delete(key);
return true;
} catch (e) {
debugPrint('$logPrefix exception: $e');
return false;
}
}