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,
To get map from documentsnapshot use snapshot.data.data
snapshot.data.data