DeleteAccount class

Inheritance

Constructors

DeleteAccount({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. reason The reason why the account was deleted; optional
DeleteAccount.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

constructor String
read / write, inherited
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
reason String
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
"deleteAccount"