UserNotifyProps class abstract
UserNotifyProps
Properties:
- email - Set to "true" to enable email notifications, "false" to disable. Defaults to "true".
- push - Set to "all" to receive push notifications for all activity, "mention" for mentions and direct messages only, and "none" to disable. Defaults to "mention".
- desktop - Set to "all" to receive desktop notifications for all activity, "mention" for mentions and direct messages only, and "none" to disable. Defaults to "all".
- desktopSound - Set to "true" to enable sound on desktop notifications, "false" to disable. Defaults to "true".
- mentionKeys - A comma-separated list of words to count as mentions. Defaults to username and @username.
- channel - Set to "true" to enable channel-wide notifications (@channel, @all, etc.), "false" to disable. Defaults to "true".
- firstName - Set to "true" to enable mentions for first name. Defaults to "true" if a first name is set, "false" otherwise.
Constructors
- UserNotifyProps([void updates(UserNotifyPropsBuilder b)])
-
factory
Properties
- channel → bool?
-
Set to "true" to enable channel-wide notifications (@channel, @all, etc.), "false" to disable. Defaults to "true".
no setter
- desktop → String?
-
Set to "all" to receive desktop notifications for all activity, "mention" for mentions and direct messages only, and "none" to disable. Defaults to "all".
no setter
- desktopSound → bool?
-
Set to "true" to enable sound on desktop notifications, "false" to disable. Defaults to "true".
no setter
- email → bool?
-
Set to "true" to enable email notifications, "false" to disable. Defaults to "true".
no setter
- firstName → bool?
-
Set to "true" to enable mentions for first name. Defaults to "true" if a first name is set, "false" otherwise.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- mentionKeys → String?
-
A comma-separated list of words to count as mentions. Defaults to username and @username.
no setter
- push → String?
-
Set to "all" to receive push notifications for all activity, "mention" for mentions and direct messages only, and "none" to disable. Defaults to "mention".
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(UserNotifyPropsBuilder)) → UserNotifyProps -
Rebuilds the instance.
inherited
-
toBuilder(
) → UserNotifyPropsBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
UserNotifyProps> -
no setter