title: Dart Firestore add to array
body: <p>I'm writing a Flutter app and am trying to add an element to an array. I'm trying to follow the example here: <a href="https://firebase.google.com/docs/firestore/manage-data/add-data#update_elements_in_an_array" rel="nofollow noreferrer">https://firebase.google.com/docs/firestore/manage-data/add-data#update_elements_in_an_array</a> - however, My DocumentReference object does not have an update object:</p>
  
  <p><a href="https://i.stack.imgur.com/XnQ0z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XnQ0z.png" alt="enter image description here"></a></p>
  
  <p>So, how do I go about adding an element to an array in this document?</p>
  
  <p>For reference, I'm using the cloud_firestore: 0.12.1 dependency.</p>