Delete constructor

  1. @JsonSerializable(includeIfNull: false)
const Delete({
  1. @Default(comAtprotoRepoApplyWritesDelete) @JsonKey(name: r'$type') String $type,
  2. @NSIDConverter() required NSID collection,
  3. required String rkey,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory Delete({
  /// The unique namespace for this lex object.
  ///
  /// `com.atproto.repo.applyWrites#delete`
  @Default(comAtprotoRepoApplyWritesDelete)
  @JsonKey(name: r'$type')
  String $type,
  @NSIDConverter() required NSID collection,
  required String rkey,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _Delete;