EncryptedCredentials class
Contains data required for decrypting and authenticating EncryptedPassportElement.
See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- EncryptedCredentials({required String data, required String hash, required String secret})
-
EncryptedCredentials.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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