method Dialog.prototype.acceptimport { Dialog } from "https://deno.land/x/astral@0.3.5/src/dialog.ts"; accept(promptText?: string)Returns when the dialog has been accepted. ParametersoptionalpromptText: stringA text to enter in prompt. Does not cause any effects if the dialog's type is not prompt. Optional.