Create constructor
- @JsonSerializable(includeIfNull: false)
const
Create(
{ - @Default('com.atproto.repo.applyWrites#create') String $type,
- required String collection,
- String? rkey,
- required Map<String, dynamic> value,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory Create({
@Default('com.atproto.repo.applyWrites#create') String $type,
required String collection,
/// NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility.
String? rkey,
required Map<String, dynamic> value,
Map<String, dynamic>? $unknown,
}) = _Create;