getNotificationSettings method

  1. @override
Future<NotificationSettings> getNotificationSettings()

Returns the current NotificationSettings.

To request permissions, call requestPermission.

Implementation

@override
Future<NotificationSettings> getNotificationSettings() async {
  return utils.getNotificationSettings(web.Notification.permission);
}