clientList method

Future<RespType> clientList({
  1. ClientType? type,
  2. List<String> ids = const [],
})

Implementation

Future<RespType> clientList({ClientType? type, List<String> ids = const []}) async {
  return tier0.execute([
    'CLIENT',
    'LIST',
    if (type != null) ...['TYPE', type._value],
    if (ids.isNotEmpty) ...['ID', ...ids],
  ]);
}