deleteRecordInBulk method

Future<XRPCResponse<EmptyData>> deleteRecordInBulk({
  1. required List<AtUri> uris,
  2. bool? validate,
  3. String? swapCommitCid,
})

Implementation

Future<core.XRPCResponse<core.EmptyData>> deleteRecordInBulk({
  required List<core.AtUri> uris,
  bool? validate,
  String? swapCommitCid,
}) async =>
    await applyWrites(
      actions: uris
          .map((e) => BatchAction.delete(data: DeleteAction(uri: e)))
          .toList(),
      validate: validate,
      swapCommitCid: swapCommitCid,
    );