PasswordPrompt typedef

PasswordPrompt = Future<String?> Function()

A method that returns a password (not necessarly the good one!)

Implementation

typedef PasswordPrompt = Future<String?> Function();