MastodonFilterV1 class
v1 filter (deprecated, scheduled for removal in Mastodon 4.0).
Corresponds to the response from /api/v1/filters.
Designed for client-side filtering with a one-filter-per-keyword structure.
- Annotations
-
- @Deprecated('Deprecated in Mastodon 4.0.0. Use MastodonFilter (v2) instead')
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
Properties
-
context
→ List<
String> -
Contexts where the filter is applied (
home,notifications,public,thread,account).final - expiresAt → DateTime?
-
Expiration timestamp.
nullif permanent.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Internal ID of the filter.
final
- irreversible → bool
-
Whether to irreversibly drop matching entities on the server side for
home and notifications.
final
- phrase → String
-
Text to filter.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wholeWord → bool
-
Whether to match using word boundaries.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited