RecordViewDetail constructor

  1. @JsonSerializable(includeIfNull: false)
const RecordViewDetail({
  1. @Default(toolsOzoneModerationDefsRecordViewDetail) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() required AtUri uri,
  3. required String cid,
  4. required Map<String, dynamic> value,
  5. @BlobViewConverter() required List<BlobView> blobs,
  6. @LabelConverter() List<Label>? labels,
  7. required DateTime indexedAt,
  8. @ModerationDetailConverter() required ModerationDetail moderation,
  9. @RepoViewConverter() required RepoView repo,
  10. @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;