NotificationGroupSettings class
Settings for notification groups.
Constructors
- NotificationGroupSettings.new({required String groupId, required String groupName, String? description, bool isEnabled = true, int maxNotifications = 10, bool autoCancel = true})
-
Creates notification group settings.
const
-
NotificationGroupSettings.fromMap(Map<
String, dynamic> map) -
Creates group settings from a map.
factory
Properties
- autoCancel → bool
-
Whether notifications in this group auto-cancel.
final
- description → String?
-
The group description.
final
- groupId → String
-
The group identifier.
final
- groupName → String
-
The group display name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEnabled → bool
-
Whether this group is enabled.
final
- maxNotifications → int
-
Maximum number of notifications in this group.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
fromJson(
String json) → NotificationGroupSettings -
Converts the object from a JSON string representation.
inherited
-
fromMap(
Map< String, dynamic> map) → NotificationGroupSettings - Converts the object from a Map representation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
Converts the object to a JSON string representation.
inherited
-
toMap(
) → Map< String, dynamic> -
Converts the
BaseDataModel
object to a Map representation. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited