ask method

String ask(
  1. String msg
)

Prompts the user for a text input with the given msg.

Implementation

String ask(String msg) => Input(prompt: msg).interact();