MastodonPushSubscriptionUpdateRequest class
Web Push subscription update request.
Used with PUT /api/v1/push/subscription.
Updates only the data portion (alert settings and policy) of the
subscription.
Constructors
- MastodonPushSubscriptionUpdateRequest({MastodonPushAlertSettings? alerts, String? policy})
-
const
Properties
- alerts → MastodonPushAlertSettings?
-
Settings per notification type.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- policy → String?
-
Notification policy (all / followed / follower / none).
final
- 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> - Converts to a JSON map for the request.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited