userSignUp method

Future<void> userSignUp({
  1. required AccountType accountType,
})

Implementation

Future<void> userSignUp({
  required AccountType accountType,
}) async {
  if (!_formKey.currentState!.validate()) {
    return;
  }

  await account.accountSignUp(
    username: usernameInputController.text,
    eMail: emailInputController.text,
    password: passwordInputController.text,
    repeatPassword: repeatPasswordInputController.text,
    accountType: accountType,
  );
}