cacnel method Null safety

void cacnel()

Implementation

void cacnel() {
  //currently only support multipart request
  request?.cancel();
}