PasswordValidationFunction typedef

PasswordValidationFunction = bool Function(String password)

Function to be called to check whether a password matches the requirements during registration.

Implementation

typedef PasswordValidationFunction = bool Function(
  String password,
);