RepoOp constructor
const
RepoOp({
- @Default.new('com.atproto.sync.subscribeRepos#repoOp') String $type,
- @RepoOpActionConverter() required RepoOpAction action,
- required String path,
- required String? cid,
- String? prev,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory RepoOp({
@Default('com.atproto.sync.subscribeRepos#repoOp') String $type,
@RepoOpActionConverter() required RepoOpAction action,
required String path,
/// For creates and updates, the new record CID. For deletions, null.
required String? cid,
/// For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined.
String? prev,
Map<String, dynamic>? $unknown,
}) = _RepoOp;