bootpayClose method
      
void
bootpayClose(
    
    
- BootpayCloseCallback? onClose
Implementation
void bootpayClose(BootpayCloseCallback? onClose) {
  if (_debounce?.isActive ?? false) _debounce?.cancel();
  _debounce = Timer(const Duration(milliseconds: 100), () {
    if(isBootpayShow == false) return;
    if (onClose != null) onClose();
    isBootpayShow = false;
  });
}