ServiceNotificationEvent class

Constructors

ServiceNotificationEvent({int? id, bool? canReply, bool? haveExtraPicture, bool? hasRemoved, Uint8List? extrasPicture, String? packageName, String? title, Uint8List? appIcon, Uint8List? largeIcon, String? content})
ServiceNotificationEvent.fromMap(Map map)

Properties

appIcon Uint8List?
the notification app icon To display an image simply use the Image.memory widget. Example:
getter/setter pair
canReply bool?
check if we can reply the Notification
getter/setter pair
content String?
the content of the notification
getter/setter pair
extrasPicture Uint8List?
notification extras image To display an image simply use the Image.memory widget. Example:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasRemoved bool?
if the notification has been removed
getter/setter pair
haveExtraPicture bool?
if the notification has an extras image
getter/setter pair
id int?
the notification id
getter/setter pair
largeIcon Uint8List?
the notification large icon (ex: album covers) To display an image simply use the Image.memory widget. Example:
getter/setter pair
packageName String?
notification package name
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
notification title
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendReply(String message) Future<bool>
send a direct message reply to the incoming notification
toString() String
A string representation of this object.
override

Operators

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