WebpushConfig class
Represents the WebPush protocol options that can be included in a Message.
Constructors
-
WebpushConfig({Map<
String, String> ? headers, Map<String, String> ? data, WebpushNotification? notification, WebpushFcmOptions? fcmOptions}) - Represents the WebPush protocol options that can be included in a Message.
Properties
-
data
→ Map<
String, String> ? -
A collection of data fields.
final
- fcmOptions → WebpushFcmOptions?
-
Options for features provided by the FCM SDK for Web.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
A collection of WebPush headers. Header values must be strings.
final
- notification → WebpushNotification?
-
A WebPush notification payload to be included in the message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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