oneSignalNotification static method
Implementation
static Future<void> oneSignalNotification(
{required String? oneSignalId}) async {
OneSignal.shared.setAppId("$oneSignalId");
OneSignal.shared
.promptUserForPushNotificationPermission()
.then((accepted) {});
}