clickCloseButton method

void clickCloseButton()

Implementation

void clickCloseButton() {
  if (this.widget.onCancel != null)
    this.widget.onCancel!('{"action":"BootpayCancel","status":-100,"message":"사용자에 의한 취소"}');
  // onCancel 만 부르고 끝나 X 를 눌러도 창이 닫히지 않았다 — onClose + 화면 닫기까지 진행한다
  debounceClose();
}