register static method
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,
);
}