copyWithJsPromptResponse method

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

Implementation

JsPromptResponse copyWithJsPromptResponse({
  String? message,
  String? defaultValue,
  String? confirmButtonTitle,
  String? cancelButtonTitle,
  bool? handledByClient,
  String? value,
  JsPromptResponseAction? action,
}) {
  return copyWith(
    message: message,
    defaultValue: defaultValue,
    confirmButtonTitle: confirmButtonTitle,
    cancelButtonTitle: cancelButtonTitle,
    handledByClient: handledByClient,
    value: value,
    action: action,
  );
}