presentList property

bool? presentList
final

Indicates if the notification should be shown in the notification centre when the notification is triggered while app is in the foreground.

Corresponds to https://developer.apple.com/documentation/usernotifications/unnotificationpresentationoptions/3564813-list

When this is set to null, it will use the default setting given to DarwinInitializationSettings.defaultPresentList.

On iOS, this property is only applicable to iOS 14 or newer On macOs, this property is only applicable to macOS 11 or newer.

Implementation

final bool? presentList;