ReceivedNotification class

All received details of a notification created or displayed on the system The data field

Implementers

Constructors

ReceivedNotification()

Properties

actionType ActionType?
Returns the action type of the notification.
getter/setter pairinherited
autoCancel bool?
no setterinherited
autoDismissable bool?
no setterinherited
autoDismissible bool?
Returns whether the notification is auto-dismissible.
no setterinherited
backgroundColor Color?
Returns the background color of the notification.
no setterinherited
bigPicture String?
Returns the big picture of the notification.
no setterinherited
bigPictureImage ImageProvider<Object>?
no setterinherited
bigPicturePath String?
no setterinherited
body String?
Returns the body text of the notification.
no setterinherited
bodyLockArgs List<String>?
Returns the args used to translate the notification body.
no setterinherited
bodyLockKey String?
Returns the body key used to translate the notification.
no setterinherited
bodyWithoutHtml String?
no setterinherited
category NotificationCategory?
Returns the category of the notification.
no setterinherited
channelKey String?
Returns the channel key of the notification.
no setterinherited
chronometer Duration?
Returns the chronometer duration for the notification.
no setterinherited
color Color?
Returns the color of the notification.
no setterinherited
createdDate DateTime?
getter/setter pairinherited
createdLifeCycle NotificationLifeCycle?
getter/setter pairinherited
createdSource NotificationSource?
getter/setter pairinherited
criticalAlert bool?
Returns whether the notification is a critical alert.
no setterinherited
customSound String?
Returns the custom sound of the notification.
no setterinherited
displayedDate DateTime?
Returns the date and time when the notification was displayed.
getter/setter pairinherited
displayedLifeCycle NotificationLifeCycle?
getter/setter pairinherited
fullScreenIntent bool?
Returns whether the notification should use a full screen intent.
no setterinherited
groupKey String?
Returns the group key of the notification.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
icon String?
Returns the icon of the notification.
no setterinherited
id int?
Returns the id of the notification.
no setterinherited
largeIcon String?
Returns the large icon of the notification.
no setterinherited
largeIconImage ImageProvider<Object>?
no setterinherited
largeIconPath String?
no setterinherited
payload Map<String, String?>?
Returns the custom payload of the notification.
no setterinherited
privacy NotificationPrivacy?
Returns the privacy setting of the notification.
getter/setter pairinherited
roundedBigPicture bool?
Returns whether the big picture should be rounded.
no setterinherited
roundedLargeIcon bool?
Returns whether the large icon should be rounded.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showWhen bool?
Returns whether the notification should show a timestamp.
no setterinherited
summary String?
Returns the summary of the notification.
no setterinherited
timeoutAfter Duration?
Returns the duration after which the notification should be timed out.
no setterinherited
title String?
Returns the title of the notification.
no setterinherited
titleLockArgs List<String>?
Returns the args used to translate the notification title.
no setterinherited
titleLockKey String?
Returns the title key used to translate the notification.
no setterinherited
titleWithoutHtml String?
no setterinherited
wakeUpScreen bool?
Returns whether the notification should wake up the screen.
no setterinherited

Methods

fromMap(Map<String, dynamic> mapData) ReceivedNotification
Exports all content into a serializable object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processRetroCompatibility(Map<String, dynamic> dataMap) Map<String, dynamic>
inherited
toMap() Map<String, dynamic>
Exports all content into a serializable object
toString() String
A string representation of this object.
inherited
validate() → void
Validates
inherited

Operators

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