start method
Start receiving messages from native td json client
Implementation
Future<void> start() async {
if (_running) {
return;
}
if (_starting) {
return;
}
_starting = true;
if (_client.clientId == null) {
_client.create();
}
if (newVerbosityLevel != null) {
_client.send({
"@type": "setLogVerbosityLevel",
"new_verbosity_level": newVerbosityLevel
});
}
await _initIsolate();
_starting = false;
_running = true;
}