stop method

void stop()

Leaves the running answer: the closed connection cancels it on the camera.

Implementation

void stop() {
  final cancel = _cancel;
  if (cancel != null && !cancel.isCompleted) {
    cancel.complete();
  }
}