dispose method
Disposes the network client.
Implementation
void dispose() {
_client?.dispose();
// Reset to null after disposal.
_client = null;
_searchService = null;
}
Disposes the network client.
void dispose() {
_client?.dispose();
// Reset to null after disposal.
_client = null;
_searchService = null;
}