MastodonPushAlerts class
Alert settings per Web Push notification type.
Each field indicates whether to receive Push notifications for the corresponding notification type.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonPushAlerts({required bool mention, required bool quote, required bool status, required bool reblog, required bool follow, required bool followRequest, required bool favourite, required bool poll, required bool update, required bool quotedUpdate, required bool adminSignUp, required bool adminReport})
-
const
-
MastodonPushAlerts.fromJson(Map<
String, dynamic> json) -
factory
Properties
- adminReport → bool
-
Admin: whether to receive report notifications.
final
- adminSignUp → bool
-
Admin: whether to receive new sign-up notifications.
final
- favourite → bool
-
Whether to receive favourite notifications.
final
- follow → bool
-
Whether to receive follow notifications.
final
- followRequest → bool
-
Whether to receive follow request notifications.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mention → bool
-
Whether to receive mention notifications.
final
- poll → bool
-
Whether to receive poll ended notifications.
final
- quote → bool
-
Whether to receive quote notifications.
final
- quotedUpdate → bool
-
Whether to receive quoted status update notifications.
final
- reblog → bool
-
Whether to receive boost notifications.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → bool
-
Whether to receive new post notifications from followed users.
final
- update → bool
-
Whether to receive status edit notifications.
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