list method
Returns the list of data collections associated to a provided data index.
The returned list is sorted in alphanumerical order.
Implementation
Future<Map<String, dynamic>> list(String index,
    {int? from, int? size, String? type}) async {
  final response = await kuzzle.query(KuzzleRequest(
    controller: name,
    action: 'list',
    index: index,
    from: from,
    size: size,
    type: type,
  ));
  return response.result as Map<String, dynamic>;
}