BaseClient constructor
bool https indicates if the client will make requests over http or https
String host the host of the service
String port the port used by the service
Implementation
BaseClient(
[this.https = false, this.host = 'localhost', this.port = '8080']) {
wsEndpoint = 'users';
api = 'api';
changeServiceConnection(https, host, port);
}