AccountEvent constructor
- @JsonSerializable(includeIfNull: false)
- @Default('tools.ozone.moderation.defs#accountEvent') String $type,
- String? comment,
- required bool active,
- @AccountEventStatusConverter() AccountEventStatus? status,
- required DateTime timestamp,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory AccountEvent({
@Default('tools.ozone.moderation.defs#accountEvent') String $type,
String? comment,
/// Indicates that the account has a repository which can be fetched from the host that emitted this event.
required bool active,
@AccountEventStatusConverter() AccountEventStatus? status,
required DateTime timestamp,
Map<String, dynamic>? $unknown,
}) = _AccountEvent;