deleteProfile static method

Future deleteProfile()

Deletes the current profile from BlueConic servers asynchronously.

This method removes the profile from the BlueConic servers and clears the local profile ID. A new profile ID will be generated for future use. Warning: This action cannot be undone.

Returns a Future<dynamic> that completes when the profile is deleted

Implementation

static Future<dynamic> deleteProfile() {
  return BlueConicPlatform.instance.deleteProfile();
}