Prompter class

Constructors

Prompter(String message, {bool secret = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret bool
final

Methods

ask({List<String> positive = const []}) Future<bool>
askSync({List<String> positive = const []}) bool?
Prompts a user for a yes or no answer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prompt({ResponseChecker? checker}) Future<String>
promptSync({ResponseChecker? checker}) String?
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited