register static method

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

Implementation

static Future<String> register(String userIdentifier, String password) {
  if (userIdentifier == "" || password == "") {
    throw const FormatException();
  }

  return getApi().register(
    baseUrl: baseUrl,
    authToken: appToken,
    password: password,
    userIdentifier: userIdentifier,
  );
}