reset method
Implementation
void reset([String? endpoint]) {
terminate();
if (endpoint != null) {
this.endpoint = endpoint;
}
}
void reset([String? endpoint]) {
terminate();
if (endpoint != null) {
this.endpoint = endpoint;
}
}