index method

Future<Map<String, dynamic>> index(
  1. String indexHandle
)

Implementation

Future<Map<String, dynamic>> index(String indexHandle) async {
  final resp = await _connection.request(
    path: '/_api/index/${_indexHandle(indexHandle)}',
  );
  return Map<String, dynamic>.from(resp.body);
}