MutedWord class
A word that the account owner has muted.
https://atprotodart.com/docs/lexicons/app/bsky/actor/defs#mutedword
- Available extensions
- Annotations
-
- @freezed
Constructors
-
MutedWord({@Default(appBskyActorDefsMutedWord) @JsonKey(name: r'$type') String $type, String? id, required String value, @UMutedWordTargetConverter() required List<
UMutedWordTarget> targets, @UMutedWordActorTargetConverter() UMutedWordActorTarget? actorTarget, DateTime? expiresAt, @JsonKey(name: r'$unknown') Map<String, dynamic> ? $unknown}) -
constfactory
-
MutedWord.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
- actorTarget → UMutedWordActorTarget?
-
Groups of users to apply the muted word to. If undefined, applies
to all users.
no setterinherited
-
copyWith
→ $MutedWordCopyWith<
MutedWord> -
no setterinherited
- expiresAt → DateTime?
-
The date and time at which the muted word will expire and no
longer be applied.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targets
→ List<
UMutedWordTarget> -
The intended targets of the muted word.
no setterinherited
- value → String
-
The muted word itself.
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