presentBadge property

bool? presentBadge
final

Apply the badge value when the notification is triggered while app is in the foreground.

When this is set to null, it will use the default setting given to IOSInitializationSettings.defaultPresentBadge.

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

Implementation

final bool? presentBadge;