PushNotification class
- Inheritance
-
- Object
- BaseData<
NotificationId> - PushNotification
Constructors
- PushNotification(NotificationRequestId requestId, UserId recipientId, String subject, String text, PushNotificationType type, PushNotificationStatus status, PushNotificationInfo? info)
-
PushNotification.fromJson(Map<
String, dynamic> json)
Properties
-
additionalConfig
↔ Map<
String, dynamic> ? -
getter/setter pair
- createdTime ↔ int?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ NotificationId?
-
getter/setter pairinherited
- info → PushNotificationInfo?
-
final
- recipientId → UserId
-
final
- requestId → NotificationRequestId
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → PushNotificationStatus
-
final
- subject → String
-
final
- text → String
-
final
- type → PushNotificationType
-
final
Methods
-
baseDataString(
[String? toStringBody]) → String -
inherited
-
getCreatedTime(
) → int? -
inherited
-
getId(
) → NotificationId? -
inherited
-
idBasedString(
) → String -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notificationString(
[String? toStringBody]) → String -
setCreatedTime(
int? createdTime) → void -
inherited
-
setId(
NotificationId? id) → dynamic -
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited