ClientsInfo.fromMap constructor
Implementation
factory ClientsInfo.fromMap(Map<String, String> map) {
return ClientsInfo(
connectedClients: int.parse(map['connected_clients'] ?? '0'),
clientLongestOutputList:
int.parse(map['client_longest_output_list'] ?? '0'),
clientBiggestInputBuf: int.parse(map['client_biggest_input_buf'] ?? '0'),
blockedClients: int.parse(map['blocked_clients'] ?? '0'),
);
}