promptForPushNotification static method
Directly calls OS hard dialog for requesting push permission.
Implementation
static Future<void> promptForPushNotification(bool fallbackToSettings) async {
return await _dartToNativeMethodChannel.invokeMethod('promptForPushNotification', fallbackToSettings);
}