recordExists method

Future<bool> recordExists(
  1. CloudKitRecordId id
)

Whether the record id exists on the server. A missing zone counts as a missing record.

Implementation

Future<bool> recordExists(CloudKitRecordId id) async =>
    (await CloudKitSyncChannel.invoke<bool>('recordExists', {
      'containerId': containerId,
      'id': CloudKitChannelCodec.encodeRecordId(id),
    }))!;