unlink method
Unlinks current user from the app.
Implementation
Future<UserIdResponse> unlink() async {
return ApiFactory.handleApiError(() async {
Response response = await _dio.post("/v1/user/unlink");
return UserIdResponse.fromJson(response.data);
});
}