Push Messaging
This section provides API reference details for the Push Messaging module in the Flutter unified plugin.
Enables push messaging.
Future<void>
Disables push messaging.
Future<void>
Returns the state of the pushEnabled flag.
Future<bool>- A future that indicates whether push messaging is enabled.
Returns the token that Marketing Cloud uses to send push messages to the device.
Future<String?>- A future that completes with the push token string, ornull.
A broadcast stream of push token updates. Emits a new token string when the push token changes.
Stream<String?>