NotificationChannelData class
Constructors
- NotificationChannelData({required String id, required String name, String? description, String? groupId, NotificationImportanceEnum importance = NotificationImportanceEnum.defaultImportance, bool playSound = true, String? soundPath, bool enableVibration = true, bool enableLights = false, Int64List? vibrationPattern, Color? ledColor, bool showBadge = true, NotificationPriorityEnum priority = NotificationPriorityEnum.defaultPriority})
Properties
- description → String?
-
final
- enableLights → bool
-
final
- enableVibration → bool
-
final
- groupId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- importance → NotificationImportanceEnum
-
final
- ledColor → Color?
-
final
- name → String
-
final
- playSound → bool
-
final
- priority → NotificationPriorityEnum
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showBadge → bool
-
final
- soundPath → String?
-
final
- vibrationPattern → Int64List?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAndroidNotificationChannel(
) → AndroidNotificationChannel -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited