DarwinInitializationSettings constructor

const DarwinInitializationSettings(
  1. {bool requestAlertPermission = true,
  2. bool requestSoundPermission = true,
  3. bool requestBadgePermission = true,
  4. bool requestCriticalPermission = false,
  5. bool defaultPresentAlert = true,
  6. bool defaultPresentSound = true,
  7. bool defaultPresentBadge = true,
  8. DidReceiveLocalNotificationCallback? onDidReceiveLocalNotification,
  9. List<DarwinNotificationCategory> notificationCategories = const <DarwinNotificationCategory>[]}
)

Constructs an instance of DarwinInitializationSettings.

Implementation

const DarwinInitializationSettings({
  this.requestAlertPermission = true,
  this.requestSoundPermission = true,
  this.requestBadgePermission = true,
  this.requestCriticalPermission = false,
  this.defaultPresentAlert = true,
  this.defaultPresentSound = true,
  this.defaultPresentBadge = true,
  this.onDidReceiveLocalNotification,
  this.notificationCategories = const <DarwinNotificationCategory>[],
});