InboxNotification class
- Annotations
-
- @JsonSerializable()
Constructors
-
InboxNotification.new({required String id, required String body, SubscriberFeedResponse? to, required bool isRead, required bool isArchived, required DateTime createdAt, required ChannelType channelType, List<
String> ? tags, MessageCTAData? redirect, String? subject, String? avatar, InboxNotificationAction? primaryAction, InboxNotificationAction? secondaryAction, Map<String, dynamic> ? data, DateTime? readAt, DateTime? archivedAt}) -
InboxNotification.fromJson(Map<
String, dynamic> json) -
factory
Properties
- archivedAt → DateTime?
-
final
- avatar → String?
-
final
- body ↔ String
-
latefinal
- channelType ↔ ChannelType
-
latefinal
- createdAt ↔ DateTime
-
latefinal
-
data
→ Map<
String, dynamic> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
latefinal
- isArchived ↔ bool
-
latefinal
- isRead ↔ bool
-
latefinal
- primaryAction → InboxNotificationAction?
-
final
- readAt → DateTime?
-
final
- redirect → MessageCTAData?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryAction → InboxNotificationAction?
-
final
- subject → String?
-
final
-
final
- to → SubscriberFeedResponse?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited