DeliveredNotification class

Notification payload class.

UNNotificationContent on iOS. Notification on Android.

Constructors

DeliveredNotification({required NotificationId id, required String title, required String body, required String subtitle, required String threadIdentifier, required Map<Object?, Object?> payload, String? androidTag})

Properties

androidTag String?
Equals to the id.androidTag.
getter/setter pair
body String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id NotificationId
getter/setter pair
payload Map<Object?, Object?>
Notification payload.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String
getter/setter pair
threadIdentifier String
getter/setter pair
title String
getter/setter pair

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(Object result) DeliveredNotification