PromptAnswerReader typedef

PromptAnswerReader = FutureOr<String?> Function()

A function that reads the users' answer to a prompt.

Implementation

typedef PromptAnswerReader = FutureOr<String?> Function();