cleanUp method Null safety

void cleanUp()

Implementation

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