setEndpoint method
Set the Appwrite endpoint.
Implementation
@override
ClientIO setEndpoint(String endPoint) {
_endPoint = endPoint;
_endPointRealtime = endPoint
.replaceFirst('https://', 'wss://')
.replaceFirst('http://', 'ws://');
return this;
}