JsConfirmResponse constructor

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

Implementation

JsConfirmResponse({
  JsConfirmResponseAction? action,
  this.cancelButtonTitle = "",
  this.confirmButtonTitle = "",
  this.handledByClient = false,
  this.message = "",
}) : action = action ?? JsConfirmResponseAction.CANCEL;