NotificareNotification class
- Annotations
-
- @JsonSerializable(anyMap: true, explicitToJson: true)
- @NotificareIsoDateTimeConverter()
Constructors
-
NotificareNotification({required String id, required bool partial, required String type, required DateTime time, required String? title, required String? subtitle, required String message, required List<
NotificareNotificationContent> content, required List<NotificareNotificationAction> actions, required List<NotificareNotificationAttachment> attachments, required Map<String, dynamic> extra, required String? targetContentIdentifier}) -
NotificareNotification.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
actions
→ List<
NotificareNotificationAction> -
final
-
attachments
→ List<
NotificareNotificationAttachment> -
final
-
content
→ List<
NotificareNotificationContent> -
final
-
extra
→ Map<
String, dynamic> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- message → String
-
final
- partial → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String?
-
final
- targetContentIdentifier → String?
-
final
- time → DateTime
-
final
- title → String?
-
final
- type → String
-
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