SignupCallback typedef
SignupCallback =
Future<String?> Function(SignUpData signUpData)
The result should be the error message. Returning null indicates that the callback succeed.
Implementation
typedef SignupCallback = Future<String?> Function(SignUpData signUpData);