AndroidFlutterPushedMessaging class

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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