AndroidNotification class

Android specific properties of a RemoteNotification.

This will only be populated if the current device is Android.

Constructors

AndroidNotification({String? channelId, String? clickAction, String? color, int? count, String? imageUrl, String? link, AndroidNotificationPriority priority = AndroidNotificationPriority.defaultPriority, String? smallIcon, String? sound, String? ticker, String? tag, AndroidNotificationVisibility visibility = AndroidNotificationVisibility.private})
const
AndroidNotification.fromMap(Map<String, dynamic> map)
Constructs an AndroidNotification from a raw Map.
factory

Properties

channelId → String?
The channel the notification is delivered on.
final
clickAction → String?
A specific click action was defined for the notification.
final
color → String?
The color of the notification.
final
count → int?
The current notification count for the application.
final
hashCode → int
The hash code for this object.
no setterinherited
imageUrl → String?
The image URL for the notification.
final
final
priority → AndroidNotificationPriority
The priority for the notification.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
smallIcon → String?
The resource file name of the small icon shown in the notification.
final
sound → String?
The resource file name of the sound used to alert users to the incoming notification.
final
tag → String?
The tag of the notification.
final
ticker → String?
Ticker text for the notification, used for accessibility purposes.
final
visibility → AndroidNotificationVisibility
The visibility level of the notification.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Returns the AndroidNotification as a raw Map.
toString() → String
A string representation of this object.
inherited

Operators

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