ModEventTakedown class

Available extensions
Annotations
  • @freezed

Constructors

ModEventTakedown({@Default(toolsOzoneModerationDefsModEventTakedown) @JsonKey(name: r'$type') String $type, String? comment, @Default(0) int durationInHours, @Default(false) bool acknowledgeAccountSubjects, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
ModEventTakedown.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
acknowledgeAccountSubjects bool
If true, all other reports on content authored by this account will be resolved (acknowledged).
no setterinherited
comment String?
no setterinherited
copyWith → $ModEventTakedownCopyWith<ModEventTakedown>
no setterinherited
durationInHours int
Indicates how long the takedown should be in effect before automatically expiring.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited