VKWebAppGetEmailResult class abstract

Result of VKBridge.getEmail

Constructors

VKWebAppGetEmailResult([void updates(VKWebAppGetEmailResultBuilder)])
VKWebAppGetEmailResult factory
factory

Properties

email String
User's email address
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sign String
Signature of the received data. For the signature, the app_id values, the api_secret secret signature specified in the settings of your application, the user_id of the user, and the $ field_name. $ Field_value pair returned in the event are sequentially combined for the signature. The SHA256 cryptographic hash is calculated from the string obtained after concatenation in byte representation. You need to take base64UrlEncode from the hash. An example of generating an event signature in php for an application with app_id 7770000 and a secret key W7kVvxVxZ4: $sign = rtrim(strtr(base64_encode(hash('sha256', '7770000W7kVvxVxZ4162447emailtest@gmail.com', true)), '+/', '-_'), '=');
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(VKWebAppGetEmailResultBuilder)) VKWebAppGetEmailResult
Rebuilds the instance.
inherited
toBuilder() VKWebAppGetEmailResultBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<VKWebAppGetEmailResult>
VKWebAppGetEmailResult serializer
no setter