ModEventTag class
Add/Remove a tag on a subject
https://atprotodart.com/docs/lexicons/tools/ozone/moderation/defs#modeventtag
- Available extensions
- Annotations
-
- @freezed
Constructors
-
ModEventTag({@Default(toolsOzoneModerationDefsModEventTag) @JsonKey(name: r'$type') String $type, required List<
String> add, required List<String> remove, String? comment, @JsonKey(name: r'$unknown') Map<String, dynamic> ? $unknown}) -
constfactory
-
ModEventTag.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
-
add
→ List<
String> -
Tags to be added to the subject. If already exists, won't be
duplicated.
no setterinherited
- comment → String?
-
Additional comment about added/removed tags.
no setterinherited
-
copyWith
→ $ModEventTagCopyWith<
ModEventTag> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
remove
→ List<
String> -
Tags to be removed to the subject. Ignores a tag If it doesn't
exist, won't be duplicated.
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