DeviceTokenWebPush class

Implemented types

Constructors

DeviceTokenWebPush({String endpoint, String p256dhBase64url, String authBase64url})
A token for web Push API. endpoint Absolute URL exposed by the push service where the application server can send push messages; may be empty to de-register a device. p256dhBase64url Base64url-encoded P-256 elliptic curve Diffie-Hellman public key . authBase64url Base64url-encoded authentication secret
DeviceTokenWebPush.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

authBase64url String
read / write
endpoint String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
p256dhBase64url String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"deviceTokenWebPush"