PluginAskLine typedef

PluginAskLine = Future<String?> Function(String question, {bool secret})

A free-form question rendered by the host (masked input when secret). Resolves to the entered text, or null on cancel.

Implementation

typedef PluginAskLine =
    Future<String?> Function(String question, {bool secret});