RepoDeleteRecordInput constructor

  1. @JsonSerializable(includeIfNull: false)
const RepoDeleteRecordInput({
  1. required String repo,
  2. required String collection,
  3. required String rkey,
  4. String? swapRecord,
  5. String? swapCommit,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RepoDeleteRecordInput({
  /// The handle or DID of the repo (aka, current account).
  required String repo,

  /// The NSID of the record collection.
  required String collection,

  /// The Record Key.
  required String rkey,

  /// Compare and swap with the previous record by CID.
  String? swapRecord,

  /// Compare and swap with the previous commit by CID.
  String? swapCommit,

  Map<String, dynamic>? $unknown,
}) = _RepoDeleteRecordInput;