registerDeviceStart static method

Future<String> registerDeviceStart(
  1. String deviceIdentifier,
  2. String password
)

Implementation

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

  return getApi().registerDeviceStart(
    baseUrl: baseUrl,
    authToken: appToken,
    deviceIdentifier: deviceIdentifier,
    password: password,
  );
}