deleteByIndex method
Delete a single object by the unique index indexName and key.
Returns whether the object has been deleted. Isar web always returns
true.
Implementation
@experimental
Future<bool> deleteByIndex(String indexName, IndexKey key) {
  return deleteAllByIndex(indexName, [key]).then((int count) => count == 1);
}