BloomNotificationChannel class

Represents an Android notification channel configuration for Android 8.0 (API 26) and newer.

Example:

const channel = BloomNotificationChannel(
  id: 'messages',
  name: 'Chat Messages',
  description: 'Direct messages and team mentions',
  importance: NotificationImportance.high,
);

Constructors

BloomNotificationChannel({required String id, required String name, String? description, NotificationImportance importance = NotificationImportance.high})
Creates a BloomNotificationChannel definition.
const

Properties

description → String?
User-visible channel description.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique channel identifier (e.g. 'messages', 'updates').
final
importance → NotificationImportance
Importance level of notifications posted to this channel (defaults to NotificationImportance.high).
final
name → String
User-visible channel name shown in Android system notification settings.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAndroidChannel() → AndroidNotificationChannel
Converts this definition to a Flutter AndroidNotificationChannel.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited