PrompterService class
Constructors
- PrompterService({StringSink? output, String? readLine()?})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- output → StringSink
-
final
- readLine → String? Function()
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
askChoice(
String question, List< String> options, {String? defaultValue}) → String -
askMultipleChoice(
String question, List< String> options, {List<String> ? defaults}) → List<String> -
askString(
String question, {String? defaultValue}) → String -
askYesNo(
String question, {bool defaultValue = false}) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited