ModerationDetail constructor

  1. @JsonSerializable(includeIfNull: false)
const ModerationDetail({
  1. @Default(toolsOzoneModerationDefsModerationDetail) @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 ModerationDetail({
  /// The unique namespace for this lex object.
  ///
  /// `tools.ozone.moderation.defs#moderationDetail`
  @Default(toolsOzoneModerationDefsModerationDetail)
  @JsonKey(name: r'$type')
  String $type,
  @SubjectStatusViewConverter() SubjectStatusView? subjectStatus,

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