ForgotPasswordCallback typedef

ForgotPasswordCallback = Future<String?> Function(String email)

The result should be the error message. Returning null indicates that the callback succeed. It takes email as a parameter to identify the user.

Implementation

typedef ForgotPasswordCallback = Future<String?> Function(String email);