GroupedNotification class
A class that encapsulates a grouped notification.
- Available Extensions
- Annotations
-
- @freezed
Constructors
-
GroupedNotification({@AtUriConverter() required List<
AtUri> uris, required List<Actor> authors, required GroupedNotificationReason reason, @AtUriConverter() AtUri? reasonSubject, required bool isRead, required List<Label> labels, Map<String, dynamic> ? record, required DateTime indexedAt}) -
Creates a new instance of GroupedNotification.
constfactory
-
GroupedNotification.fromJson(Map<
String, Object?> json) -
factory
Properties
-
The collection of authors causing the notification.
no setterinherited
-
copyWith
→ $GroupedNotificationCopyWith<
GroupedNotification> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexedAt → DateTime
-
Indicates the timestamp at which the notification was indexed.
no setterinherited
- isRead → bool
-
Indicates whether the notification has been read or not.
no setterinherited
-
labels
→ List<
Label> -
May include any labels attached to the notification.
no setterinherited
- reason → GroupedNotificationReason
-
Specifies the reason for the notification.
no setterinherited
- reasonSubject → AtUri?
-
Optionally, represents the subject of the reason for the notification.
no setterinherited
-
record
→ Map<
String, dynamic> ? -
Might include additional data related to the notification.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uris
→ List<
AtUri> -
The unique URI for the notification content.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited