deleteAccount static method
Future<void>
deleteAccount({
- required String reason,
- String? feedback,
- required dynamic flyCallBack(
- FlyResponse response
Deletes the user account from the Mirrorfly platform.
This method initiates the process of deleting the user account from the
Mirrorfly platform. It requires a reason
parameter specifying the reason
for deleting the account. Optionally, you can provide a feedback
message
to provide additional details or feedback regarding the deletion.
The flyCallBack
parameter is a function that will be called upon completion of the operation.
It receives a FlyResponse object as a parameter, which contains information about the success or failure of the operation.
Implementation
static Future<void> deleteAccount(
{required String reason,
String? feedback,
required Function(FlyResponse response) flyCallBack}) {
return FlyChatFlutterPlatform.instance
.deleteAccount(reason, feedback, flyCallBack);
}