delete method
Deletes documents from the collection matching filter.
Implementation
Future<void> delete({JsonMap? filter, bool optimistic = false}) {
return _client.delete(
_name,
filter: filter ?? <String, dynamic>{},
optimistic: optimistic,
);
}