Moderation constructor

  1. @JsonSerializable(includeIfNull: false)
const Moderation({
  1. @Default(toolsOzoneModerationDefsModeration) @JsonKey(name: r'$type') String $type,
  2. @SubjectStatusViewConverter() SubjectStatusView? subjectStatus,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory Moderation({
  /// The unique namespace for this lex object.
  ///
  /// `tools.ozone.moderation.defs#moderation`
  @Default(toolsOzoneModerationDefsModeration)
  @JsonKey(name: r'$type')
  String $type,
  @SubjectStatusViewConverter() SubjectStatusView? subjectStatus,

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