clientList method
Returns a list of connected clients.
Implementation
Future<List<String>> clientList() async {
final result = await _execCmd(['CLIENT', 'LIST']);
final bulkString = _getBulkString(result);
if (bulkString != null) {
return bulkString.split('\n').where((e) => e.isNotEmpty).toList(growable: false);
}
return [];
}