ModEventViewDetail constructor

  1. @JsonSerializable(includeIfNull: false)
const ModEventViewDetail({
  1. @Default(toolsOzoneModerationDefsModEventViewDetail) @JsonKey(name: r'$type') String $type,
  2. required int id,
  3. @UModEventViewDetailEventConverter() required UModEventViewDetailEvent event,
  4. @UModEventViewDetailSubjectConverter() required UModEventViewDetailSubject subject,
  5. @BlobViewConverter() required List<BlobView> subjectBlobs,
  6. required String createdBy,
  7. required DateTime createdAt,
  8. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ModEventViewDetail({
  /// The unique namespace for this lex object.
  ///
  /// `tools.ozone.moderation.defs#modEventViewDetail`
  @Default(toolsOzoneModerationDefsModEventViewDetail)
  @JsonKey(name: r'$type')
  String $type,
  required int id,
  @UModEventViewDetailEventConverter()
  required UModEventViewDetailEvent event,
  @UModEventViewDetailSubjectConverter()
  required UModEventViewDetailSubject subject,
  @BlobViewConverter() required List<BlobView> subjectBlobs,
  required String createdBy,
  required DateTime createdAt,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ModEventViewDetail;