updateOne method
updateOne updates a single document in the collection that matches the filter. If multiple documents match, updateOne will update the first matching document only.
Implementation
void updateOne(UpdateOneStatement updateRequest) =>
_setCommand(UpdateOneOperation(collection!, updateRequest));