Update constructor
- @JsonSerializable(includeIfNull: false)
const
Update(
{ - @Default(comAtprotoRepoApplyWritesUpdate) @JsonKey(name: r'$type') String $type,
- @NSIDConverter() required NSID collection,
- required String rkey,
- required Map<String, dynamic> value,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory Update({
/// The unique namespace for this lex object.
///
/// `com.atproto.repo.applyWrites#update`
@Default(comAtprotoRepoApplyWritesUpdate)
@JsonKey(name: r'$type')
String $type,
@NSIDConverter() required NSID collection,
required String rkey,
required Map<String, dynamic> value,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _Update;