RecordViewDetail constructor
- @JsonSerializable(includeIfNull: false)
const
RecordViewDetail(
{ - @Default(toolsOzoneModerationDefsRecordViewDetail) @JsonKey(name: r'$type') String $type,
- @AtUriConverter() required AtUri uri,
- required String cid,
- required Map<String, dynamic> value,
- @BlobViewConverter() required List<BlobView> blobs,
- @LabelConverter() List<Label>? labels,
- required DateTime indexedAt,
- @ModerationDetailConverter() required ModerationDetail moderation,
- @RepoViewConverter() required RepoView repo,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory RecordViewDetail({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#recordViewDetail`
@Default(toolsOzoneModerationDefsRecordViewDetail)
@JsonKey(name: r'$type')
String $type,
@AtUriConverter() required AtUri uri,
required String cid,
required Map<String, dynamic> value,
@BlobViewConverter() required List<BlobView> blobs,
@LabelConverter() List<Label>? labels,
required DateTime indexedAt,
@ModerationDetailConverter() required ModerationDetail moderation,
@RepoViewConverter() required RepoView repo,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _RecordViewDetail;