NotificationGroup class

Inheritance

Constructors

NotificationGroup({int id, NotificationGroupType type, int chatId, int totalCount, List<Notification> notifications})
Describes a group of notifications
NotificationGroup.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
chatId Identifier of a chat to which all notifications in the group belong
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
id Unique persistent auto-incremented from 1 identifier of the notification group
read / write
notifications List<Notification>
notifications The list of active notifications
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalCount int
totalCount Total number of active notifications in the group
read / write
type NotificationGroupType
type Type of the group
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
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'notificationGroup'