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