In a firestore document I have an Array that holds a list of maps that have a valueId that is either true or false:
I am able to see if a valueId exists in the array with if(doc['inPack'].contains(valueID)){}
But now that I know it exists in the array, is there an easy way to grab if the specific valueID is true or false without iterating through the entire array? Or will I have to run a loop to grab the value?
Just trying to see if there is a more efficient way of doing this, thanks!