setChannel abstract method
Set a new notification channel or updates if already exists
forceUpdate: completely updates the channel on Android Oreo and above, but cancels all current notifications.
Implementation
Future<void> setChannel(
NotificationChannel notificationChannel, {
bool forceUpdate = false,
});