clientList method

Future<List<String>> clientList()

Returns a list of connected clients.

Implementation

Future<List<String>> clientList() async {
  final bulkString = (await tier1.clientList()).toBulkString().payload;
  if (bulkString != null) {
    return bulkString.split('\n').where((e) => e.isNotEmpty).toList(growable: false);
  }
  return [];
}