NotificationChannelContent class

Constructors

NotificationChannelContent({@required String id, @required String nameText, String descriptionText = "", NotificationChannelImportance importance = NotificationChannelImportance.defaultIm, NotificationChannelLockscreenVisibility lockscreenVisibility = NotificationChannelLockscreenVisibility.secret})
used for setting the notification content for further reading click here

Properties

descriptionText String
sets the description of the channel this will be shown in the phone's notification settings
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
sets the notification id channel
final
importance NotificationChannelImportance
sets the importance of the channel
final
lockscreenVisibility NotificationChannelLockscreenVisibility
sets the lockscreen visibility
final
nameText String
sets the name text this will be shown in the phone's notification settings
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited