MastodonPushAlertSettings class

Alert settings per Web Push notification type (for requests).

Fields set to null are not included in the request.

Constructors

MastodonPushAlertSettings({bool? mention, bool? quote, bool? status, bool? reblog, bool? follow, bool? followRequest, bool? favourite, bool? poll, bool? update, bool? quotedUpdate, bool? adminSignUp, bool? adminReport})
const

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>
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