cleanUp method

void cleanUp()

Implementation

void cleanUp() {
  token = null;
  headers = {};
  uploadRequests = {};
  errorController.close();
}