RecordView constructor

  1. @JsonSerializable(includeIfNull: false)
const RecordView({
  1. @Default(toolsOzoneModerationDefsRecordView) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() required AtUri uri,
  3. required String cid,
  4. required Map<String, dynamic> value,
  5. required List<String> blobCids,
  6. required DateTime indexedAt,
  7. @ModerationConverter() required Moderation moderation,
  8. @RepoViewConverter() required RepoView repo,
  9. @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;