PasswordState class

Implemented types

Constructors

PasswordState({bool hasPassword, String passwordHint, bool hasRecoveryEmailAddress, bool hasPassportData, EmailAddressAuthenticationCodeInfo recoveryEmailAddressCodeInfo})
Represents the current state of 2-step verification. hasPassword True, if a 2-step verification password is set . passwordHint Hint for the password; may be empty. hasRecoveryEmailAddress True, if a recovery email is set . hasPassportData True, if some Telegram Passport elements were saved. recoveryEmailAddressCodeInfo Information about the recovery email address to which the confirmation email was sent; may be null
PasswordState.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasPassportData bool
read / write
hasPassword bool
read / write
hasRecoveryEmailAddress bool
read / write
passwordHint String
read / write
recoveryEmailAddressCodeInfo EmailAddressAuthenticationCodeInfo
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
"passwordState"