removeByKeys method

Future<Map<String, dynamic>> removeByKeys(
  1. List<String> keys,
  2. [Map<String, dynamic> options]
)

Implementation

Future<Map<String, dynamic>> removeByKeys(
  List<String> keys, [
  Map<String, dynamic> options,
]) async {
  final resp = await _connection.request(
    method: 'PUT',
    path: '/_api/simple/remove-by-keys',
    body: {
      if (options != null) 'options': options,
      'keys': keys,
      'collection': name
    },
  );
  return resp.body;
}