UpdateNotificationGroup class

Implemented types

Constructors

UpdateNotificationGroup({int notificationGroupId, dynamic type, int chatId, int notificationSettingsChatId, bool isSilent, int totalCount, List<Notification> addedNotifications, List<int> removedNotificationIds})
A list of active notifications in a notification group has changed. notificationGroupId Unique notification group identifier. type New type of the notification group. chatId Identifier of a chat to which all notifications in the group belong. notificationSettingsChatId Chat identifier, which notification settings must be applied to the added notifications. isSilent True, if the notifications should be shown without sound. totalCount Total number of unread notifications in the group, can be bigger than number of active notifications. addedNotifications List of added group notifications, sorted by notification ID . removedNotificationIds Identifiers of removed group notifications, sorted by notification ID
UpdateNotificationGroup.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

addedNotifications List<Notification>
read / write
chatId int
read / write
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isSilent bool
read / write
notificationGroupId int
read / write
notificationSettingsChatId int
read / write
removedNotificationIds List<int>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalCount int
read / write
type ↔ dynamic
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"updateNotificationGroup"