ScopeNotificationSettings class

Implemented types

Constructors

ScopeNotificationSettings({int muteFor, String sound, bool showPreview, bool disablePinnedMessageNotifications, bool disableMentionNotifications})
Contains information about notification settings for several chats. muteFor Time left before notifications will be unmuted, in seconds. sound The name of an audio file to be used for notification sounds; only applies to iOS applications. showPreview True, if message content should be displayed in notifications. disablePinnedMessageNotifications True, if notifications for incoming pinned messages will be created as for an ordinary unread message. disableMentionNotifications True, if notifications for messages with mentions will be created as for an ordinary unread message
ScopeNotificationSettings.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

disableMentionNotifications bool
read / write
disablePinnedMessageNotifications bool
read / write
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
muteFor int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showPreview bool
read / write
sound String
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
"scopeNotificationSettings"