UpdateResult constructor

  1. @JsonSerializable(includeIfNull: false)
const UpdateResult({
  1. @Default(comAtprotoRepoApplyWritesUpdateResult) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() required AtUri uri,
  3. required String cid,
  4. @UUpdateResultValidationStatusConverter() UUpdateResultValidationStatus? validationStatus,
  5. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory UpdateResult({
  /// The unique namespace for this lex object.
  ///
  /// `com.atproto.repo.applyWrites#updateResult`
  @Default(comAtprotoRepoApplyWritesUpdateResult)
  @JsonKey(name: r'$type')
  String $type,
  @AtUriConverter() required AtUri uri,
  required String cid,
  @UUpdateResultValidationStatusConverter()
  UUpdateResultValidationStatus? validationStatus,

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