Prompter class Null safety

Constructors

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

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
message String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 non-existent 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