defaultPresentAlert property

bool defaultPresentAlert
final

Configures the default setting on if an alert should be displayed when a notification is triggered while app is in the foreground.

Default value is true.

On iOS, this property is only applicable to iOS 10 or newer. On macOS, this property is only applicable to macOS 10.14 or newer.

Implementation

final bool defaultPresentAlert;