DeleteAccount class

Inheritance

Constructors

DeleteAccount({required String reason, required String password})
Deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account.. Can be called before authorization when the current authorization state is authorizationStateWaitPassword
const

Properties

hashCode int
The hash code for this object.
no setterinherited
password String
password The 2-step verification password of the current user. If not specified, account deletion can be canceled within one week
final
reason String
reason The reason why the account was deleted; optional
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? reason, String? password}) DeleteAccount
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) 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