promptPassword abstract method

Future<String?> promptPassword(
  1. String message
)

Returns a Future that resolves to a password entered by the user.

Implementation may vary or return null if no secure terminal is available.

Implementation

Future<String?> promptPassword(String message);