NotificationService class

Wrapper Notification Service for the OneSignal SDK

Constructors

NotificationService()

Properties

hashCode int
The hash code for this object.
no setterinherited
permission bool
Wrapper Notification Service for the OneSignal SDK returns whether this app has push notification permission
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

initialize({required String appId}) Future<void>
Initializes Onesignal instance based on appId
login({required String externalId}) Future<void>
Login to OneSignal under the user identified by the externalId provided.
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