NotificationType enum

The type of event that resulted in the notification:

  • mention = Someone mentioned you in their status
  • status = Someone you enabled notifications for has posted a status
  • reblog = Someone boosted one of your statuses
  • follow = Someone followed you
  • follow_request = Someone requested to follow you
  • favourite = Someone favourited one of your statuses
  • poll = A poll you have voted in or created has ended
  • update = A status you boosted with has been edited
  • admin.sign_up = Someone signed up (optionally sent to admins)
  • admin.report = A new report has been filed
Inheritance
Annotations
  • @JsonEnum(fieldRename: FieldRename.snake)

Constructors

NotificationType()
const

Values

mention → const NotificationType
status → const NotificationType
reblog → const NotificationType
follow → const NotificationType
followRequest → const NotificationType
favourite → const NotificationType
poll → const NotificationType
update → const NotificationType
adminSignUp → const NotificationType
adminReport → const NotificationType

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<NotificationType>
A constant List of the values in this enum, in order of their declaration.