updateIndex method
Updates index
definition with content
.
Implementation
Future<void> updateIndex({
required String index,
Map<String, dynamic>? content,
}) async {
final rs = await _transport.send(Request('PUT', [index], bodyMap: content));
rs.throwIfStatusNotOK(message: 'Index update failed.');
}