ModEventView constructor
- @JsonSerializable(includeIfNull: false)
const
ModEventView(
{ - @Default(toolsOzoneModerationDefsModEventView) @JsonKey(name: r'$type') String $type,
- required int id,
- @UModEventViewEventConverter() required UModEventViewEvent event,
- @UModEventViewSubjectConverter() required UModEventViewSubject subject,
- required List<String> subjectBlobCids,
- required String createdBy,
- required DateTime createdAt,
- String? creatorHandle,
- String? subjectHandle,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ModEventView({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#modEventView`
@Default(toolsOzoneModerationDefsModEventView)
@JsonKey(name: r'$type')
String $type,
required int id,
@UModEventViewEventConverter() required UModEventViewEvent event,
@UModEventViewSubjectConverter() required UModEventViewSubject subject,
required List<String> subjectBlobCids,
required String createdBy,
required DateTime createdAt,
String? creatorHandle,
String? subjectHandle,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ModEventView;