getClientById method
Implementation
MtprotoClient? getClientById(int clientId) {
for (var i = 0; i < clients.length; i++) {
MtprotoClient tdlibClient = clients[i];
if (tdlibClient.client_id == clientId) {
return tdlibClient;
}
}
return null;
}