Filter class
Represents a user-defined filter for determining which statuses should not be shown to the user. https://docs.joinmastodon.org/entities/filter/
TODO: follow Implementation Notes
- Annotations
-
- @JsonSerializable()
Constructors
Properties
-
context
→ List<
FilterContext> -
The contexts in which the filter should be applied. Enumerated by
FilterContext
.final - expiresAt → DateTime?
-
When the filter should no longer be applied
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the filter in the database
final
- irreversible → bool
-
Should matching entities in home and notifications be dropped by the server?
final
- phrase → String
-
The text to be filtered
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wholeWord → bool
-
Should the filter consider word boundaries?
See implementation notes in Mastodon docs
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited