register function

Future<UserCredential> register(
  1. String email,
  2. String password
)

Implementation

Future<UserCredential> register(String email, String password) async {
  final user = await getAuth()
      .createUserWithEmailAndPassword(email: email, password: password);
  return user;
}