HSkySparkClient constructor
Implementation
factory HSkySparkClient(String uri, String user, String pass) {
if (!uri.endsWith("/")) uri = uri + "/";
// sanity check arguments
if (user.isEmpty) {
throw ArgumentError("user cannot be empty string");
}
return HSkySparkClient._(uri, user, pass, null);
}