NotificationSettings constructor

const NotificationSettings({
  1. required AppleNotificationSetting alert,
  2. required AppleNotificationSetting announcement,
  3. required AuthorizationStatus authorizationStatus,
  4. required AppleNotificationSetting badge,
  5. required AppleNotificationSetting carPlay,
  6. required AppleNotificationSetting lockScreen,
  7. required AppleNotificationSetting notificationCenter,
  8. required AppleShowPreviewSetting showPreviews,
  9. required AppleNotificationSetting timeSensitive,
  10. required AppleNotificationSetting criticalAlert,
  11. required AppleNotificationSetting sound,
})

Implementation

const NotificationSettings(
    {required this.alert,
    required this.announcement,
    required this.authorizationStatus,
    required this.badge,
    required this.carPlay,
    required this.lockScreen,
    required this.notificationCenter,
    required this.showPreviews,
    required this.timeSensitive,
    required this.criticalAlert,
    required this.sound});