IOSInitializationSettings constructor

const IOSInitializationSettings(
  1. {bool requestAlertPermission = true,
  2. bool requestSoundPermission = true,
  3. bool requestBadgePermission = true,
  4. bool defaultPresentAlert = true,
  5. bool defaultPresentSound = true,
  6. bool defaultPresentBadge = true,
  7. DidReceiveLocalNotificationCallback onDidReceiveLocalNotification}
)

Constructs an instance of IOSInitializationSettings.

Implementation

const IOSInitializationSettings({
  this.requestAlertPermission = true,
  this.requestSoundPermission = true,
  this.requestBadgePermission = true,
  this.defaultPresentAlert = true,
  this.defaultPresentSound = true,
  this.defaultPresentBadge = true,
  this.onDidReceiveLocalNotification,
})  : assert(requestAlertPermission != null),
      assert(requestSoundPermission != null),
      assert(requestBadgePermission != null),
      assert(defaultPresentAlert != null),
      assert(defaultPresentBadge != null),
      assert(defaultPresentSound != null);