method Dialog.prototype.acceptimport { Dialog } from "https://deno.land/x/pptr@1.2.0/src/Dialog.ts"; accept(promptText?: string): Promise<void>ParametersoptionalpromptText: string optional text that will be entered in the dialog prompt. Has no effect if the dialog's type is not prompt. ReturnsPromise<void>A promise that resolves when the dialog has been accepted.