PushNotification class
- Inheritance
-
- Object
- NotificationModel
- PushNotification
- Annotations
-
- @Deprecated('PushNotification class was deprecated, since ' 'all push features will be moved to the companion plugin. ' 'Use NotificationModel class instead.')
Constructors
-
PushNotification({required NotificationContent content, NotificationSchedule? schedule, List<
NotificationActionButton> ? actionButtons})
Properties
-
actionButtons
→ List<
NotificationActionButton> ? -
The action buttons for the notification.
no setterinherited
- content → NotificationContent?
-
The content of the notification.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
localizations
→ Map<
String, NotificationLocalization> ? -
The localizations for the notification.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schedule → NotificationSchedule?
-
The schedule to display the notification.
no setterinherited
Methods
-
fromMap(
Map< String, dynamic> mapData) → NotificationModel? -
Imports data from a serializable object
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Exports all content into a serializable object
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void -
Validates if the models has all the requirements to be considered valid
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited