deleteRecordInBulk method

Future<XRPCResponse<ApplyWritesOutput>> deleteRecordInBulk({
  1. String? repo,
  2. required List<Delete> writes,
  3. bool? validate,
  4. String? swapCommit,
  5. Map<String, String>? $headers,
  6. PostClient? $client,
})

Implementation

Future<XRPCResponse<ApplyWritesOutput>> deleteRecordInBulk({
  String? repo,
  required List<Delete> writes,
  bool? validate,
  String? swapCommit,
  Map<String, String>? $headers,
  PostClient? $client,
}) async =>
    await applyWrites(
      repo: repo,
      writes: writes.map((e) => UApplyWritesWrite.delete(data: e)).toList(),
      validate: validate,
      swapCommit: swapCommit,
      $headers: $headers,
      $client: $client,
    );