DeleteAccount class

Inheritance

Constructors

DeleteAccount({required String reason})
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
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}) 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