RecordView constructor
- @JsonSerializable(includeIfNull: false)
const
RecordView(
{ - @Default(toolsOzoneModerationDefsRecordView) @JsonKey(name: r'$type') String $type,
- @AtUriConverter() required AtUri uri,
- required String cid,
- required Map<String, dynamic> value,
- required List<String> blobCids,
- required DateTime indexedAt,
- @ModerationConverter() required Moderation moderation,
- @RepoViewConverter() required RepoView repo,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory RecordView({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#recordView`
@Default(toolsOzoneModerationDefsRecordView)
@JsonKey(name: r'$type')
String $type,
@AtUriConverter() required AtUri uri,
required String cid,
required Map<String, dynamic> value,
required List<String> blobCids,
required DateTime indexedAt,
@ModerationConverter() required Moderation moderation,
@RepoViewConverter() required RepoView repo,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _RecordView;