clickCloseButton method

void clickCloseButton()

Implementation

void clickCloseButton() {
  removePaymentWindow();

  if (widget.onCancel != null) {
    widget.onCancel!('{"action":"BootpayCancel","status":-100,"message":"사용자에 의한 취소"}');
  }
  if (widget.onClose != null) {
    widget.onClose!();
  }
}