createAccountRequest method

Future<bool> createAccountRequest(
  1. String userName,
  2. String email,
  3. String password
)

Attempts to create a new account request with the given email and password. If successful, true is returned. If the attempt is not a success, false is returned.

Implementation

Future<bool> createAccountRequest(
  String userName,
  String email,
  String password,
) async {
  try {
    return await caller.email.createAccountRequest(
      userName,
      email,
      password,
    );
  } catch (e) {
    return false;
  }
}