onRunJavaScriptTextInputPanelWithPrompt method

String onRunJavaScriptTextInputPanelWithPrompt(
  1. String prompt,
  2. String defaultText
)

Implementation

String onRunJavaScriptTextInputPanelWithPrompt(
    String prompt, String defaultText) {
  assert(!_closed);
  return _promptHandler?.call(prompt, defaultText) ?? defaultText;
}