signUpWithEmailHandler method

  1. @override
Future<void> signUpWithEmailHandler (
  1. String email,
  2. String pwd
)
override

Implementation

@override
Future<void> signUpWithEmailHandler(String email, String pwd) async {
  UserCredential res = await authProvider.createUserWithEmailAndPassword(
      email: email, password: pwd);
  if (res.user == null) {
    throw 'whoops failed';
  }
}