signUpWithEmailHandler method

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

Implementation

@override
Future<void> signUpWithEmailHandler(String email, String pwd) async {
  await Future.delayed(Duration(milliseconds: 200));
  if (users.containsKey(email)) {
    throw 'email_exist';
  } else {
    users[email] = pwd;
    signedIn = true;
    userEmail = email;
  }
}