registerUser method
Registers a new user with the given email and password.
The email
to register with. This will be the user's username and, if user confirmation is enabled, this will be the address for
the confirmation email.
The password
to associate with the email. The password must be between 6 and 128 characters long.
Successful completion indicates that the user has been created on the server and can now be logged in with Credentials.emailPassword().
Implementation
Future<void> registerUser(String email, String password) async {
return realmCore.appEmailPasswordRegisterUser(app, email, password);
}