openNotificationSettings method

Future<void> openNotificationSettings()

Opens the device's notification settings page.

Call this after showing a dialog that explains why notifications are needed and the user has confirmed they want to enable them.

Implementation

Future<void> openNotificationSettings() async {
  _logger.info('[Notifications] Opening notification settings.');
  await AppSettings.openAppSettings(type: AppSettingsType.notification);
}