deregisterUser
Deregistration is the process of removing a user (profile) from the device and server.
To obtain a list of potential profiles that can be removed from the device use getUserProfiles.
Future<bool> deregisterUser(String profileId)
var isLogOut = await Onegini.instance.userClient
.deregisterUser(profileId)
.catchError((error) {
print("Deregistration failed: " + error.message);
});
if (isLogOut) {
print("User deregistered!");
}