controlPause method

void controlPause()

Implementation

void controlPause() {
  if (widget.controller != null) {
    widget.controller!.pause();
  } else {
    pause();
  }
}