DeviceTokenWebPush class

Inheritance

Constructors

DeviceTokenWebPush({required String endpoint, required String p256dhBase64url, required String authBase64url})
A token for web Push API
const
DeviceTokenWebPush.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

authBase64url String
authBase64url Base64url-encoded authentication secret
final
clientId int?
client identifier
no setterinherited
endpoint String
endpoint Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device
final
extra → dynamic
callback sign
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
p256dhBase64url String
p256dhBase64url Base64url-encoded P-256 elliptic curve Diffie-Hellman public key
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? endpoint, String? p256dhBase64url, String? authBase64url}) DeviceTokenWebPush
override
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String