NotificationGroup class
Describes a group of notifications.
- Inheritance
- Available Extensions
Constructors
-
NotificationGroup({required int id, required NotificationGroupType type, required int chat_id, required int total_count, required List<
Notification> notifications, int? extra, int? clientId}) - Describes a group of notifications
Properties
- chat_id ↔ int
-
Identifier of a chat to which all notifications in the group belong.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ int
-
Unique persistent auto-incremented from 1 identifier of the notification group.
read / write
-
notifications
↔ List<
Notification> -
The list of active notifications.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- total_count ↔ int
-
Total number of active notifications in the group.
read / write
- type ↔ NotificationGroupType
-
Type of the group.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → NotificationGroup? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"notificationGroup"