WebpushConfig extension type
Represents the WebPush protocol options that can be included in an {@link Message}.
- on
- Implemented types
- Available extensions
Constructors
- WebpushConfig({JSObject? headers, JSObject? data, WebpushNotification? notification, WebpushFcmOptions? fcmOptions})
- Constructor
Properties
- data → JSObject?
-
A collection of data fields.
no setter
- fcmOptions → WebpushFcmOptions?
-
Options for features provided by the FCM SDK for Web.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → JSObject?
-
A collection of WebPush headers. Header values must be strings.
no setter
- notification → WebpushNotification?
-
A WebPush notification payload to be included in the message.
no setter
- 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