channel top-level constant
AndroidNotificationChannel
const channel
Implementation
const AndroidNotificationChannel channel = AndroidNotificationChannel(
'high_importance_channel',
'High Importance Notifications',
'This channel is used for important notifications.',
importance: Importance.high,
enableVibration: true,
playSound: true,
);