JsPromptResponse constructor

JsPromptResponse({
  1. JsPromptResponseAction? action,
  2. String cancelButtonTitle = "",
  3. String confirmButtonTitle = "",
  4. String defaultValue = "",
  5. bool handledByClient = false,
  6. String message = "",
  7. String? value,
})

Implementation

JsPromptResponse({
  JsPromptResponseAction? action,
  this.cancelButtonTitle = "",
  this.confirmButtonTitle = "",
  this.defaultValue = "",
  this.handledByClient = false,
  this.message = "",
  this.value,
}) : action = action ?? JsPromptResponseAction.CANCEL;