PasswordState class
Represents the current state of 2-step verification.
- Inheritance
- Available Extensions
Constructors
- PasswordState({required bool has_password, required String password_hint, required bool has_recovery_email_address, required bool has_passport_data, EmailAddressAuthenticationCodeInfo? recovery_email_address_code_info, required String login_email_address_pattern, required int pending_reset_date, int? extra, int? clientId})
- Represents the current state of 2-step verification
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- has_passport_data ↔ bool
-
True, if some Telegram Passport elements were saved.
read / write
- has_password ↔ bool
-
True, if a 2-step verification password is set.
read / write
- has_recovery_email_address ↔ bool
-
True, if a recovery email is set.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- login_email_address_pattern ↔ String
-
Pattern of the email address set up for logging in.
read / write
- password_hint ↔ String
-
Hint for the password; may be empty.
read / write
- pending_reset_date ↔ int
-
If not 0, point in time (Unix timestamp) after which the 2-step verification password can be reset immediately using resetPassword.
read / write
- recovery_email_address_code_info ↔ EmailAddressAuthenticationCodeInfo?
-
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-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) → PasswordState? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"passwordState"