import 'package:moengage_flutter/moengage_flutter.dart';final MoEngageFlutter _moengagePlugin = MoEngageFlutter(<YOUR_WORKSPACE_ID>);_moengagePlugin.initialise();// Below method will return an instance of <Future<UserDeletionData>>_moengagePlugin.deleteUser().then((value) {// Add your code to handle the callback.}).catchError((onError) {// Add your code to handle the Error.});