delete method
Delete a entry from CloudKit using the key.
Implementation
Future<bool> delete(String key) async {
if (!Platform.isIOS) {
return false;
}
if (key.length == 0) {
return false;
}
bool success = await _channel.invokeMethod('DELETE_VALUE', {
"key": key,
"containerId": _containerId,
}) ??
false;
return success;
}