androidNotificationOngoing property Null safety

bool androidNotificationOngoing
final

Whether the notification can be swiped away.

If you set this to true, androidStopForegroundOnPause must be true as well, otherwise this will not do anything, because when foreground service is active, it forces notification to be ongoing.

Implementation

final bool androidNotificationOngoing;