WebpushConfig class Null safety

Webpush protocol options.

Constructors

WebpushConfig({Map<String, String>? data, WebpushFcmOptions? fcmOptions, Map<String, String>? headers, Map<String, Object?>? notification})
WebpushConfig.fromJson(Map json_)

Properties

data Map<String, String>?
Arbitrary key/value payload.
read / write
fcmOptions WebpushFcmOptions?
Options for features provided by the FCM SDK for Web.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
headers Map<String, String>?
HTTP headers defined in webpush protocol.
read / write
notification Map<String, Object?>?
Web Notification options as a JSON object.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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