FlutterPushedMessagingPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterPushedMessagingPlatform
Implementers

Constructors

FlutterPushedMessagingPlatform()
Constructs a FlutterPushedMessagingPlatform.

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

askPermissions([bool askNotificationPermission = true, bool askBackgroundPermission = true]) → Future<void>
getEndpoints() → Future<Map>
Returns resolved endpoints for current environment.
getEnvironment() → Future<String>
Get current Pushed environment.
getInitialMessage() → Future<Map?>
getLog() → Future<String?>
getToken() → Future<String?>
init(dynamic backgroundMessageHandler(Map)?, [String? notificationChannel = "messages", bool loggerEnabled = false, bool askPermissions = true, bool serverLoggerEnabled = false, String? applicationId, bool enablePushOnForeground = true, String? environment]) → Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reconnect() → Future<void>
resetAll() → Future<bool>
Reset all tokens and environment back to prod.
resetToken() → Future<String?>
Re-issue Pushed token in the current environment.
sendInteraction(String messageId, String interaction) → Future<bool>
Send interaction event (Show/Click/Close) for a Pushed messageId.
setEnvironment(String environment) → Future<bool>
Set Pushed environment. Allowed: "prod", "dev", "load"
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ FlutterPushedMessagingPlatform
getter/setter pair
messageController ↔ StreamController<Map>
getter/setter pair
onMessage → Stream<Map>
no setter
onMessageOpenedApp → Stream<Map>
no setter
onMessageOpenedAppController ↔ StreamController<Map>
getter/setter pair
onStatus → Stream<ServiceStatus>
no setter
pushToken ↔ String?
getter/setter pair
status ↔ ServiceStatus
getter/setter pair
statusController ↔ StreamController<ServiceStatus>
getter/setter pair