PasswordState class

Inheritance

Constructors

PasswordState({bool hasPassword, String passwordHint, bool hasRecoveryEmailAddress, bool hasPassportData, EmailAddressAuthenticationCodeInfo recoveryEmailAddressCodeInfo})
Represents the current state of 2-step verification
PasswordState.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasPassportData bool
hasPassportData True, if some Telegram Passport elements were saved
read / write
hasPassword bool
hasPassword True, if a 2-step verification password is set
read / write
hasRecoveryEmailAddress bool
hasRecoveryEmailAddress True, if a recovery email is set
read / write
passwordHint String
passwordHint Hint for the password; may be empty
read / write
recoveryEmailAddressCodeInfo EmailAddressAuthenticationCodeInfo
recoveryEmailAddressCodeInfo Information about the recovery email address to which the confirmation email was sent; may be null
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
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'passwordState'