DeviceTokenWebPush class

A token for web Push API.

Inheritance
Available Extensions

Constructors

DeviceTokenWebPush({required String endpoint, required String p256dh_base64url, required String auth_base64url, int? extra, int? clientId})
A token for web Push API

Properties

auth_base64url String
Base64url-encoded authentication secret.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
endpoint String
Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
p256dh_base64url String
Base64url-encoded P-256 elliptic curve Diffie-Hellman public key.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) DeviceTokenWebPush?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"deviceTokenWebPush"