Let's say I have a huge document in firebase. It looks like this.
root |- bigMap : {
| field1: Large amount of data
| field2: Large amount of data,
| field3: Large amount of data,
| field4: Large amount of data,
| field5: Large amount of data,
| ...
| },
|- bigMap2 : {...},
what if I only want root/bigMap/field3
? I don't want to waste data by saying
(await FirebaseFirestore
.instance.collection('')
.doc('root')
.get()
)['bigMap']['feild3']
is there any way to only import bigMap/field3
?
(I need this in the form of a Future if you need it. It would also be helpful with commented code since I am new to coding)