DeleteResult constructor

  1. @JsonSerializable(includeIfNull: false)
const DeleteResult({
  1. @Default(comAtprotoRepoApplyWritesDeleteResult) @JsonKey(name: r'$type') String $type,
  2. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory DeleteResult({
  /// The unique namespace for this lex object.
  ///
  /// `com.atproto.repo.applyWrites#deleteResult`
  @Default(comAtprotoRepoApplyWritesDeleteResult)
  @JsonKey(name: r'$type')
  String $type,

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