ParsePush class

A class that provides a mechanism for handling push notifications in the app.

Constructors

ParsePush()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getSubscribedChannels() Future<List>
Returns an <List
initialize(dynamic firebaseMessaging, {String? vapidKey, required ParseNotification parseNotification}) Future<void>
Initialize ParsePush; for web a vapidKey is required.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMessage(dynamic message) → void
Handle push notification message
subscribeToChannel(String value) Future<void>
Subscribes the device to a channel of push notifications
toString() String
A string representation of this object.
inherited
unsubscribeFromChannel(String value) Future<void>
Unsubscribes the device to a channel of push notifications

Operators

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

Static Properties

instance ParsePush
final
keyPushType String
getter/setter pair
keyType String
getter/setter pair