Menu

waiting answer September 16, 2020

how can I check if Field Already exists in Flutter Firestore?

Answers
September 16, 2020

If you have a snapshot of the document in which the field is potentially in you could do

    if (snapshot.data[‘your_field’] != null) {
       //Do something here
    } 

0 0

Please Login to Post the answer

Leave an Answer