I need to update a document with nested arrays in Firestore with Flutter.
So I need to get the full document into a Map, reorder the maps in the \"sections\" array,
Updated September-2020
To get data from a snapshot document you now have to call snapshot.data() (cloud_firestore 0.14.0 or higher)
snapshot.data()
0.14.0 or higher