JsBeforeUnloadResponse constructor

JsBeforeUnloadResponse({
  1. JsBeforeUnloadResponseAction? action = JsBeforeUnloadResponseAction.CONFIRM,
  2. String cancelButtonTitle = "",
  3. String confirmButtonTitle = "",
  4. bool handledByClient = false,
  5. String message = "",
})

Implementation

JsBeforeUnloadResponse(
    {this.action = JsBeforeUnloadResponseAction.CONFIRM,
    this.cancelButtonTitle = "",
    this.confirmButtonTitle = "",
    this.handledByClient = false,
    this.message = ""});